tdesign_flutter 0.0.2 tdesign_flutter: ^0.0.2 copied to clipboard
TDesign 适配移动端的组件库,适合在 flutter 技术栈项目中使用。
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tdesign_flutter
With Flutter:
$ flutter pub add tdesign_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
tdesign_flutter: ^0.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tdesign_flutter/tdesign_flutter.dart';