smf_dart_define 0.7.0
smf_dart_define: ^0.7.0 copied to clipboard
The SMF module that gives the Flutter app that SMF generates the values of its .env file with --dart-define-from-file of the flutter tool.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add smf_dart_defineWith Flutter:
$ flutter pub add smf_dart_defineThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
smf_dart_define: ^0.7.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smf_dart_define/smf_dart_define.dart';