mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
5d0d6126a1
Allows the user to specify the kind of project to create. The default is 'app'. Other choices are 'plugin' (the old '--plugin' behavior), and 'package'. A Flutter 'package' is a Dart package that depends on Flutter, but does not contain native code. Fixes #10377.
8 lines
133 B
Cheetah
8 lines
133 B
Cheetah
library {{projectName}};
|
|
|
|
/// A Calculator.
|
|
class Calculator {
|
|
/// Returns [value] plus 1.
|
|
int addOne(int value) => value + 1;
|
|
}
|