r_dart_library 0.2.1
r_dart_library: ^0.2.1

Flutter Android iOS

A core library of R.dart

r_dart_library #

dart pub package License: MIT

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的正确版本。

r_dart_library versionrequires Flutter SDK version
[0.1.0, 0.1.1]<1.10.15
[0.2.0, 0.2.1]>=1.10.15

use this package as a library #

  1. Depend on it

    Add this to your package's pubspec.yaml file:

     dependencies:
       r_dart_library:
         git:
           url: git@github.com:YK-Unit/r_dart_library.git
           ref: 0.1.0
    
  2. 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.

  3. Import it

Now in your Dart code, you can use:

  import 'package:r_dart_library/asset_svg.dart';