itwo_flutter_base library
Classes
- Blank
- 常用的 widget
- CachedNetworkImage
- Image widget to show NetworkImage with caching functionality.
- CachedNetworkImageProvider
- IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
- CacheUtil
- CheckTextView
-
CityPicker<
T extends IPickerViewData< T> > - CupertinoMonthPicker
- CupertinoMonthRangePicker
- CupertinoYearPicker
- CupertinoYearRangePicker
- CustomCheckBox
- 常用的自定义的 widget CheckBox ,可设置图片,控制大小
- CustomCheckedText
- 可变颜色的 Text
- CustomCountDown
- DashLine
- 虚线
- DateTimeUtil
- Debounce
- DeviceUtil
- network_info_plus sensor_plus share_plus android_alarm_manager_plus
- Dot
- 圆点
- DownloadProgress
- Progress of the file that is being downloaded from the originalUrl.
- EncryptUtil
- md5 base64 sha1 var sha1Str = hex.encode(sha1.convert(utf8.encode(data)).bytes);
- IBlocBase
-
IBlocState<
B extends IBlocBase, T extends StatefulWidget> -
IndexedStackLifecycleList<
E extends Widget> -
IPickerViewData<
T extends IPickerViewData< T> > - ISkuBean
- ISkuTag
- MapUtil
-
MaterialPageRouteLifecycle<
T> - MultiImageStreamCompleter
- An ImageStreamCompleter with support for loading multiple images.
- NumberFormatter
- 输入限制--全数字
-
Pair<
A, B> -
RouterUtil<
R extends Route> - ScreenUtil
- Sku
- zeroStockSelectEnable 库存为0时,tag是否可选
- SkuAttributeBean
- TextWidget
- 文本
-
Triple<
A, B, C>
Enums
- CacheManagerLogLevel
- Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
- Visible
Mixins
Extensions
- dynamicExt on dynamic
- ILog on String
-
IndexedStackLifecycleListExt
on List<
E> - IntervalVoidCallback on VoidCallback
-
IterableExt
on Iterable<
E> -
IterableExtNull
on Iterable<
E> ? -
JsonMapExt
on Map<
String, dynamic> - JsonStringExt on String
-
MapExt
on Map<
K, V> ? - ScopeFunctionsForObject on dynamic
- StringExt on String
- StringExtNull on String?
- WebViewHTMLCover on String
- WidgetExt on Widget
Properties
-
boxShadowGray
→ List<
BoxShadow> -
no setter
- timeDilation → double
-
Slows down animations by this factor to help in development.
no setter
Functions
Typedefs
- CountDownWidgetBuilder = Widget Function(BuildContext context, int tick)
- 倒计时的 text
-
ImageWidgetBuilder
= Widget Function(BuildContext context, ImageProvider<
Object> imageProvider) - Builder function to create an image widget. The function is called after the ImageProvider completes the image loading.
- LoadingErrorWidgetBuilder = Widget Function(BuildContext context, String url, Object error)
- Builder function to create an error widget. This builder is called when the image failed loading, for example due to a 404 NotFound exception.
-
OnCityPickerSelectChanged<
T extends IPickerViewData< T> > = dynamic Function(T province, T city, T count) - 城市|时间选择器
- PlaceholderWidgetBuilder = Widget Function(BuildContext context, String url)
- Builder function to create a placeholder widget. The function is called once while the ImageProvider is loading the image.
- ProgressIndicatorBuilder = Widget Function(BuildContext context, String url, DownloadProgress progress)
- Builder function to create a progress indicator widget. The function is called every time a chuck of the image is downloaded from the web, but at least once during image loading.
- SkuItemWidgetBuilder = Widget Function(BuildContext context, ISkuTag sku)