cry 0.0.3 cry: ^0.0.3 copied to clipboard
一个Flutter组件库,包含button、form、dataTable、dialog、imageUpload、root、toggleButton、transfer、treeTable
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cry
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
cry: ^0.0.3
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:cry/cry_button.dart';
import 'package:cry/cry_data_table.dart';
import 'package:cry/cry_dialog.dart';
import 'package:cry/cry_image_upload.dart';
import 'package:cry/cry_root.dart';
import 'package:cry/cry_toggle_buttons.dart';
import 'package:cry/cry_transfer.dart';
import 'package:cry/cry_tree_table.dart';
import 'package:cry/form1/cry_from_field.dart';
import 'package:cry/form1/cry_input.dart';
import 'package:cry/form1/cry_select.dart';
import 'package:cry/form1/cry_select_date.dart';
import 'package:cry/form/cry_form_field.dart';
import 'package:cry/form/cry_input.dart';
import 'package:cry/form/cry_input_num.dart';
import 'package:cry/form/cry_select.dart';
import 'package:cry/form/cry_select_date.dart';
import 'package:cry/model/configuration_model.dart';
import 'package:cry/model/image_model.dart';
import 'package:cry/model/order_item_model.dart';
import 'package:cry/model/page_model.dart';
import 'package:cry/model/test_tree_model.dart';
import 'package:cry/utils/adaptive_util.dart';
import 'package:cry/utils/treeUtil.dart';
import 'package:cry/vo/select_option_vo.dart';
import 'package:cry/vo/tree_vo.dart';