data_monitor 1.1.0
data_monitor: ^1.1.0 copied to clipboard
A Data Monitor package that encapsulates Annotations, Example and Utilities.
example/example.md
Example #
You can create an example Flutter application that uses data_monitor by:
-
At the command line, run
flutter create your_app_nameto create a Simple Counter App. -
Open the application in your favorite editor and delete
lib/main.dart. -
From the
data_monitorexample repository at github.com, insert the whole lib/ hierarchy into your local project:
lib/
models/
model_a.dart
model_b.dart
pages/
main_page.dart
secondary_page.dart
main.dart
- Add the following dependencies to your project's
pubspec.yamlfile:
dependencies:
data_monitor: ^1.1.0
dev_dependencies:
build_runner: ^2.15.0
data_monitor_generators: ^1.1.0
-
Perform a
pub getto get the packages listed above. -
Then (in a console) run the following command before you build / run your application:
dart run build_runner build