the_flutter_ui 0.0.2 the_flutter_ui: ^0.0.2 copied to clipboard
FlutterUI,轻便而高效的书写UI。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add the_flutter_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
the_flutter_ui: ^0.0.2
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:the_flutter_ui/extension/common.dart';
import 'package:the_flutter_ui/extension/scope_ex.dart';
import 'package:the_flutter_ui/flutterui.dart';
import 'package:the_flutter_ui/ui.dart';
import 'package:the_flutter_ui/ui/action.dart';
import 'package:the_flutter_ui/ui/color.dart';
import 'package:the_flutter_ui/ui/layout.dart';
import 'package:the_flutter_ui/ui/rounded_rectangle.dart';
import 'package:the_flutter_ui/ui/widget/GradientTabIndicator.dart';
import 'package:the_flutter_ui/ui/widget/button.dart';
import 'package:the_flutter_ui/ui/widget/complex/blur_panel.dart';
import 'package:the_flutter_ui/ui/widget/complex/swiper.dart';
import 'package:the_flutter_ui/ui/widget/image.dart';
import 'package:the_flutter_ui/ui/widget/text.dart';
import 'package:the_flutter_ui/values/colors.dart';
import 'package:the_flutter_ui/values/dimens.dart';
import 'package:the_flutter_ui/values/others.dart';