wechat_picker_library library

Classes

Gap
Add horizontal and vertical spaces.
LoadingIndicator
A loading indicator in WeChat style.
LocallyAvailableBuilder
An asset builder that builds according to the locally available state.
PickerPageRoute<T>
Built a slide page transition for the picker. 为选择器构造一个上下进出的页面过渡动画
PlatformProgressIndicator
Progress Indicator. Used in loading data.
ScaleText
Auto-scaling text between minScaleFactor and maxScaleFactor.
SliverGap
Wraps Gap as a sliver.
TweenAnimationBuilder2<A, B>
Bind double Tween into animation the builder.
ValueListenableBuilder2<A, B>
Bind double ValueNotifier into the builder.

Constants

defaultThemeColorWeChat → const Color
Default theme color from WeChat.
maxBorderRadius → const BorderRadius
Rounded border radius.

Functions

buildTheme(Color? themeColor, {bool light = false}) ThemeData
Build a ThemeData with the given themeColor for the picker. 为选择器构建基于 themeColorThemeData

Typedefs

PickerPageRouteBuilder<T> = PickerPageRoute<T> Function(Widget picker)
Build PickerPageRoute with the given generic type. 构建匹配泛型的 PickerPageRoute