cry 0.2.1 cry: ^0.2.1 copied to clipboard
一个Flutter组件库,包含button、form、dataTable、dialog、imageUpload、root、toggleButton、transfer、treeTable、menu
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.2.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:cry/common/application_context.dart';
import 'package:cry/constants/cry_constant.dart';
import 'package:cry/cry_button.dart';
import 'package:cry/cry_buttons.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_list_view.dart';
import 'package:cry/cry_menu.dart';
import 'package:cry/cry_search_bar.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_checkbox.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/generated/intl/messages_all.dart';
import 'package:cry/generated/intl/messages_en.dart';
import 'package:cry/generated/intl/messages_zh.dart';
import 'package:cry/generated/l10n.dart';
import 'package:cry/model/application.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/request_body_api.dart';
import 'package:cry/model/response_body_api.dart';
import 'package:cry/model/test_tree_model.dart';
import 'package:cry/utils/adaptive_util.dart';
import 'package:cry/utils/http_util.dart';
import 'package:cry/utils/tree_util.dart';
import 'package:cry/vo/select_option_vo.dart';
import 'package:cry/vo/tree_vo.dart';