running formatter

This commit is contained in:
2026-01-15 17:34:56 -08:00
parent a962b1f3cf
commit 6634ebaf81
1180 changed files with 16714 additions and 16640 deletions
@@ -16,7 +16,8 @@ class NgDartCommanderRunner extends CommandRunner {
static const _verboseOption = 'verbose';
NgDartCommanderRunner()
: super('ngflutter', 'Ngflutter is a command line interface for Flutter.') {
: super(
'ngflutter', 'Ngflutter is a command line interface for Flutter.') {
argParser.addFlag(_verboseOption,
abbr: 'v',
help: 'Output extra logging information.',
@@ -4,7 +4,6 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
import 'command.dart';
import 'generate_test.dart';
import 'package:ngflutter/src/commands/generate_widget.dart';
@@ -30,9 +30,7 @@ class NewProjectCommand extends NgDartCommand {
'a new folder will be created unde this path for the project.',
defaultsTo: '.');
argParser.addOption(_rootComponentOption,
abbr: 'r',
help: 'Class name of root component.',
defaultsTo: 'Screen');
abbr: 'r', help: 'Class name of root component.', defaultsTo: 'Screen');
}
Future run() async {
@@ -26,7 +26,7 @@ class PackageUriResolver {
} catch (e) {
throw new UsageException(
'Error when reading $_dotPackagesFilePath, '
'please run pub get first.',
'please run pub get first.',
'');
}
@@ -49,7 +49,7 @@ class PackageUriResolver {
if (_packageMap[packageName] == null) {
throw new UsageException(
'Cannot locate $packageName, '
'probably you need to run pub get again',
'probably you need to run pub get again',
'');
}
@@ -29,7 +29,7 @@ class PageObjectData {
.map((element) => new _Variable.fromElement(element))
.where((variable) => variable != null)
.toList(growable: false)
..sort();
..sort();
return new PageObjectData._internal(document, variables);
}
@@ -105,8 +105,8 @@ String _getProjectName(String pubspecFilePath) {
} catch (e) {
throw new UsageException(
'Error happened when reading pubspec.yaml. '
'Command generate test should be run '
'under root directory of the project.',
'Command generate test should be run '
'under root directory of the project.',
'');
}
var namePrefix = 'name:';