phoenix_base 1.2.4 phoenix_base: ^1.2.4 copied to clipboard
phoenix Flutter 企业级基础组件
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add phoenix_base
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
phoenix_base: ^1.2.4
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: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/css/core_funtion.dart';
import 'package:phoenix_base/utils/css/css_2_text.dart';
import 'package:phoenix_base/utils/css/util.dart';
import 'package:phoenix_base/utils/event_bus.dart';
import 'package:phoenix_base/utils/multi_click_util.dart';
import 'package:phoenix_base/utils/phoenix_text_util.dart';
import 'package:phoenix_base/utils/phoenix_tools.dart';
import 'package:phoenix_base/utils/rich_text.dart';