FlutterUiKit
flutter ui 工具盒.
AnimationHeightViewWidget
自适应高度容器,例如pageview左右滑动时 ,可以让pageview高度自动变化
CascadeSelectWidget
重写了系统的Picker,开放了更多的自定义属性
FoldUpTextWidget
文本展开收起控件,支持配置最大行数,展开收起按钮样式,支持识别网页链接并替换
PreloadPageView
预加载的pageView,参考了 https://github.com/octomato/preload_page_view
BottomDialogWrapper
系统的showModalBottomSheet 和 Scaffold下BottomSheet的替代品
支持更多的自定义参数,支持列表拖动关闭
混合开发下的底部弹框
flutter_keyboard_visibility
监听键盘弹出的插件
github地址: https://github.com/allenyulun/flutter_keyboard_visibility
在原有库的基础上,针对Android扩展了对混合栈的支持,需要的同学自取
参考地址 https://github.com/adee42/flutter_keyboard_visibility
InfinitePageView
增加无限轮播-自动轮播 pageView
区别于其他主流方案,page个数不会无限增长,优化轮询切换时闪动问题
demo请见
example 里有demo
Getting Started
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Installation
dependencies:
flutter_ui_box: ^0.0.8
Import
import 'package:flutter_ui_kit/flutter_ui_kit.dart';
Usage
pub地址 https://pub.dev/packages/flutter_ui_box
参考demo库 https://github.com/allenyulun/flutter_just_test
License
MIT License