awesome_ext 0.0.2 awesome_ext: ^0.0.2 copied to clipboard
Extends for plugin.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add awesome_ext
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
awesome_ext: ^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:awesome_ext/ext/assets_ext.dart';
import 'package:awesome_ext/ext/bool_ext.dart';
import 'package:awesome_ext/ext/border_ext.dart';
import 'package:awesome_ext/ext/button_ext.dart';
import 'package:awesome_ext/ext/color_ext.dart';
import 'package:awesome_ext/ext/context_ext.dart';
import 'package:awesome_ext/ext/datetime_ext.dart';
import 'package:awesome_ext/ext/decoration_ext.dart';
import 'package:awesome_ext/ext/divider_ext.dart';
import 'package:awesome_ext/ext/duration_ext.dart';
import 'package:awesome_ext/ext/encrypt.dart';
import 'package:awesome_ext/ext/focus_node_ext.dart';
import 'package:awesome_ext/ext/index.dart';
import 'package:awesome_ext/ext/intent_ext.dart';
import 'package:awesome_ext/ext/json_parse_ext.dart';
import 'package:awesome_ext/ext/key_ext.dart';
import 'package:awesome_ext/ext/list_ext.dart';
import 'package:awesome_ext/ext/margin_ext.dart';
import 'package:awesome_ext/ext/screen_ext.dart';
import 'package:awesome_ext/ext/scroll_controller_ext.dart';
import 'package:awesome_ext/ext/size_box_ext.dart';
import 'package:awesome_ext/ext/string_ext.dart';
import 'package:awesome_ext/ext/style_ext.dart';
import 'package:awesome_ext/ext/text_editing_controller_ext.dart';
import 'package:awesome_ext/ext/toast_ext.dart';
import 'package:awesome_ext/ext/widget_ext.dart';
import 'package:awesome_ext/flutter_ext.dart';
import 'package:awesome_ext/mixin/connectivity_mixin.dart';
import 'package:awesome_ext/mixin/index.dart';
import 'package:awesome_ext/mixin/subscription_mixin.dart';
import 'package:awesome_ext/utils/file_utils.dart';
import 'package:awesome_ext/utils/index.dart';
import 'package:awesome_ext/utils/log/isolate_util.dart';
import 'package:awesome_ext/utils/log/log_file_util.dart';
import 'package:awesome_ext/utils/log/logger_util.dart';
import 'package:awesome_ext/utils/md5_utils.dart';
import 'package:awesome_ext/utils/package_utils.dart';
import 'package:awesome_ext/utils/secure_storage_util.dart';
import 'package:awesome_ext/widget/back_to_top.dart';
import 'package:awesome_ext/widget/lazy_indexed_stack.dart';