rlstyles 1.0.1 rlstyles: ^1.0.1 copied to clipboard
Using the writing method of RN to develop fluent to reduce the nesting of hell
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rlstyles
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rlstyles: ^1.0.1
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:rlstyles/Component/ContainerView.dart';
import 'package:rlstyles/Component/HexColor.dart';
import 'package:rlstyles/Component/ImageView.dart';
import 'package:rlstyles/Component/ScrollView.dart';
import 'package:rlstyles/Component/Styles.dart';
import 'package:rlstyles/Component/TextView.dart';
import 'package:rlstyles/Component/View.dart';
import 'package:rlstyles/Router/StackRouter.dart';
import 'package:rlstyles/Tool/Tool.dart';
import 'package:rlstyles/Tool/base.dart';
import 'package:rlstyles/main.dart';