flutter_waya

Example 运行 Example 查看使用

初始化 navigatorKey 两种方式

/// 设置你自己的 navigatorKey
void setGlobalNavigatorKey() {
  GlobalOptions().setGlobalNavigatorKey(navigatorKey);
}

/// 使用自己的 MaterialApp
class _CustomAppState extends State<_App> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: false,
        navigatorKey: GlobalOptions().globalNavigatorKey,
        title: 'Waya UI',
        home: _Home());
  }
}

/// 根组件使用  ExtendedWidgetsApp , 默认 移出 banner
class _AppState extends State<_App> {
  @override
  Widget build(BuildContext context) {
    return ExtendedWidgetsApp(
        title: 'Waya UI', home: _Home(), pushStyle: RoutePushStyle.material);
  }
}

  • Scaffold 使用 ExtendedScaffold 可自动管理 android 物理返回键 关闭 toast loading 等各种弹窗,以及多种功能

Libraries

components/anchor_scroll_list
components/builder
components/button/bubble
components/button/elastic
components/check_box
components/components
components/count_down
components/counter
components/decorator_box
components/dotted_line
components/draggable_scrollbar
components/expansion_tiles
components/gesture
components/json_parse
components/picker/picker
components/pin_box
components/progress/progress
components/rating_stars
components/screen_adaptation
components/send_sms
components/spinKit/spin_kit
components/swiper/indicator
components/swiper/pagination
components/swiper/swiper
components/switch
components/toggle_rotate
const/area
const/const
const/styles
dio/dio
dio/interceptor/cookies_interceptor
dio/interceptor/debugger_interceptor
dio/interceptor/logger_interceptor
extended/extended
extended/icon
extended/list_wheel
extended/overlay/overlay
extended/scroll_view/extended_scroll_view
extended/scroll_view/list_view
extended/scroll_view/scroll_view
extended/scroll_view/sliver/element
extended/scroll_view/sliver/render
extended/scroll_view/sliver/sliver
extended/tab_bar
extended/text
extended/text_field
extended/universal
extended/widgets_app
extension/color_extension
extension/context_extension
extension/date_time_extension
extension/enum_extension
extension/function_extension
extension/iterable_extension
extension/list_extension
extension/map_extension
extension/num_extension
extension/object_extension
extension/string_extension
extension/widget_extension
flutter_waya
utils/ali_oss
utils/des/des
utils/des/des_engine
utils/des/permuted
utils/event
utils/media_query
utils/utils