comm_utils 0.1.2 comm_utils: ^0.1.2 copied to clipboard
This is a fullter tool class, which encapsulates various tool processing classes.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add comm_utils
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
comm_utils: ^0.1.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:comm_utils/app_config.dart';
import 'package:comm_utils/com_utils.dart';
import 'package:comm_utils/comm_http.dart';
import 'package:comm_utils/export_khttp.dart';
import 'package:comm_utils/export_kutils.dart';
import 'package:comm_utils/export_ui.dart';
import 'package:comm_utils/generated/intl/messages_all.dart';
import 'package:comm_utils/generated/intl/messages_en.dart';
import 'package:comm_utils/generated/l10n.dart';
import 'package:comm_utils/http/bean/dto/result_bool_dto.dart';
import 'package:comm_utils/http/bean/dto/result_bool_dto.g.dart';
import 'package:comm_utils/http/bean/dto/result_dto.dart';
import 'package:comm_utils/http/bean/dto/result_dto.g.dart';
import 'package:comm_utils/http/bean/dto/result_list_dto.dart';
import 'package:comm_utils/http/bean/dto/result_list_dto.g.dart';
import 'package:comm_utils/http/bean/param/empty_param.dart';
import 'package:comm_utils/http/bean/param/empty_param.g.dart';
import 'package:comm_utils/http/bean/param/id_param.dart';
import 'package:comm_utils/http/bean/param/id_param.g.dart';
import 'package:comm_utils/http/bean/param/token_param.dart';
import 'package:comm_utils/http/bean/param/token_param.g.dart';
import 'package:comm_utils/http/intercepter/token_intercepter.dart';
import 'package:comm_utils/http/khttp_config.dart';
import 'package:comm_utils/http/khttp_platform.dart';
import 'package:comm_utils/http/khttp_request.dart';
import 'package:comm_utils/http/khttp_server.dart';
import 'package:comm_utils/http/throw/base_throw_handler.dart';
import 'package:comm_utils/http/throw/biz_exception.dart';
import 'package:comm_utils/http/throw/i_throw_handler.dart';
import 'package:comm_utils/kutils.dart';
import 'package:comm_utils/module/language/klanguage_utils.dart';
import 'package:comm_utils/module/language/language_vo.dart';
import 'package:comm_utils/module/language/language_vo.g.dart';
import 'package:comm_utils/module/res/font.dart';
import 'package:comm_utils/module/routes/router_manager.dart';
import 'package:comm_utils/module/string_res.dart';
import 'package:comm_utils/module/ui/button/button.dart';
import 'package:comm_utils/module/ui/comm.dart';
import 'package:comm_utils/module/ui/decoration.dart';
import 'package:comm_utils/module/ui/easy_loading/easy_loading_config.dart';
import 'package:comm_utils/module/ui/easy_loading/k_easy_load.dart';
import 'package:comm_utils/module/ui/edit/edit_text.dart';
import 'package:comm_utils/module/ui/edit/k_edit_text.dart';
import 'package:comm_utils/module/ui/image/image_gravity.dart';
import 'package:comm_utils/module/ui/image/image_text.dart';
import 'package:comm_utils/module/ui/image/image_view.dart';
import 'package:comm_utils/module/ui/refresh/abs_data_page_logic.dart';
import 'package:comm_utils/module/ui/refresh/abs_page_logic.dart';
import 'package:comm_utils/module/ui/refresh/refresh.dart';
import 'package:comm_utils/module/ui/refresh/refresh_type.dart';
import 'package:comm_utils/module/ui/text/text.dart';
import 'package:comm_utils/module/ui/text/text_info_item.dart';
import 'package:comm_utils/module/ui_platform.dart';
import 'package:comm_utils/utils/enums/account_regex.dart';
import 'package:comm_utils/utils/enums/date_format.dart';
import 'package:comm_utils/utils/enums/num_format.dart';
import 'package:comm_utils/utils/k_color.dart';
import 'package:comm_utils/utils/k_double.dart';
import 'package:comm_utils/utils/k_encrypt.dart';
import 'package:comm_utils/utils/k_json_utils.dart';
import 'package:comm_utils/utils/k_money.dart';
import 'package:comm_utils/utils/k_num.dart';
import 'package:comm_utils/utils/k_object.dart';
import 'package:comm_utils/utils/k_regex.dart';
import 'package:comm_utils/utils/k_status_bar.dart';
import 'package:comm_utils/utils/k_system.dart';
import 'package:comm_utils/utils/k_text.dart';
import 'package:comm_utils/utils/k_widget.dart';
import 'package:comm_utils/utils/kdate_utils.dart';
import 'package:comm_utils/utils/klog.dart';
import 'package:comm_utils/utils/krandom_utils.dart';
import 'package:comm_utils/utils/ksp_utils.dart';
import 'package:comm_utils/utils/ktimer_utils.dart';