Skip to content

YK-Unit/r_dart_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r_dart_library

dart pub package License: MIT

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

  1. 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
  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';

About

A core library of R class which is generated by Flr(https://github.com/Fly-Mix/flr-cli) in flutter project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages