data_monitor 1.1.4
data_monitor: ^1.1.4 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. -
Add the following dependencies to your project's
pubspec.yamlfile:
dependencies:
data_monitor: ^1.1.2
dev_dependencies:
build_runner: ^2.15.0
data_monitor_generators: ^1.1.2
-
Perform a
pub getto get the packages listed above. -
In your editor, find the imported
data_monitorpackage and it's example/lib/ hierarchy. If you are using Visual Studio Code, for example, it is at the bottom left and looks like this:[]
-
Copy the whole /lib hierarchy to your local project (2 directories, 7 files).
-
Then, in a console, run the following command before you build / run your application:
dart run build_runner build