A command-line application providing tools that assist with development of Flutter Gradient Generator.
-
This generates a Dart file containing a list of gradient samples used in the Flutter Gradient Generator.
-
The gradient samples are generated from the
gradients.jsonfile located in theassetsdirectory. -
The generated file is located in the
Flutter Gradient Generatorproject atlib/generated/gradient_samples.dart.
Run the following command:
dart bin/generate_gradient_samples.dart -
The tool can be tested by running the following command:
flutter test