A core library of R.dart
A core library of R.dart which is generated by Flr(Flutter-R) in flutter project.
dependency relationship table #
Because the Flutter SDK is currently in an unstable state, so I create the following dependency relationship table for developer to select the correct version of
r_dart_library based on the relationship table and the Flutter SDK version of Flutter project.
由于Flutter SDK目前处于不稳定的状态，所以我创建了下面这个依赖版本关系表，让开发者根据这个关系表和Flutter项目的Flutter SDK版本选择
|r_dart_library version||requires Flutter SDK version|
use this package as a library #
Depend on it
Add this to your package's pubspec.yaml file:
dependencies: r_dart_library: git: url: firstname.lastname@example.org:YK-Unit/r_dart_library.git ref: 0.1.0
Install it You can install packages from the command line with Flutter:
flutter pub get
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use: