phoenix_base 1.0.1 phoenix_base: ^1.0.1 copied to clipboard
phoenix Flutter 企业级基础组件
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add phoenix_base
With Flutter:
$ flutter pub add phoenix_base
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
phoenix_base: ^1.0.1
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:phoenix_base/l10n/base_intl.dart';
import 'package:phoenix_base/l10n/base_resources.dart';
import 'package:phoenix_base/phoenix.dart';
import 'package:phoenix_base/theme/base/base_config.dart';
import 'package:phoenix_base/theme/base/base_default_config_utils.dart';
import 'package:phoenix_base/theme/base/base_text_style.dart';
import 'package:phoenix_base/theme/configs/base_common_config.dart';
import 'package:phoenix_base/theme/configs/base_total_config.dart';
import 'package:phoenix_base/theme/constant/base_assets_constant.dart';
import 'package:phoenix_base/theme/constant/base_font_constant.dart';
import 'package:phoenix_base/theme/constant/base_share_connstant.dart';
import 'package:phoenix_base/theme/constant/base_string_constant.dart';
import 'package:phoenix_base/theme/initializer.dart';
import 'package:phoenix_base/theme/theme.dart';
import 'package:phoenix_base/theme/theme_configurator.dart';
import 'package:phoenix_base/utils/brn_event_bus.dart';
import 'package:phoenix_base/utils/brn_multi_click_util.dart';
import 'package:phoenix_base/utils/brn_text_util.dart';