r_dart_library
A core library of R class 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
的正确版本。
r_dart_library version | requires Flutter SDK version | requires Dart SDK version |
---|---|---|
0.1.0, 0.1.1 |
<1.10.15 | <2.12.0 |
0.2.0, 0.2.1 |
>=1.10.15 | <2.12.0 |
0.4.0 |
>=1.10.15 | >=2.12.0 |
use this package as a library
-
Depend on it
Add this to your package's pubspec.yaml file:
dependencies: r_dart_library: git: url: https://github.com/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.
-
Import it
Now in your Dart code, you can use:
import 'package:r_dart_library/asset_svg.dart';
Libraries
- r_dart_library
- Copyright (C), 2018-2019, York FileName: asset_svg.dart Author: York Date: 2019-11-01 11:39 Description: AssetSvg is a svgImageProvider for imageWidget License: The AssetSvg was copied and modified from flutter_svg_provider, Apache License 2.0 Copyright (C) 2018-2019 yang-f