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.

Extensions

BrightnessExtension on Brightness
Common extensions for the Brightness.
BuildContextExtension on BuildContext
Common extensions for the BuildContext.
ColorExtension on Color
Common extensions for the Color.
SafeSetStateExtension on State<StatefulWidget>
Common extensions for the State.
ThemeDataExtension on ThemeData
Common extensions for the ThemeData.

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