flutter_fim_common library

Classes

CachedNetworkImage
Image widget to show NetworkImage with caching functionality.
CachedNetworkImageProvider
An ImageProvider to load images from the network with caching functionality.
DateFormats
一些常用格式参照。可以自定义格式,例如:'yyyy/MM/dd HH:mm:ss','yyyy/M/d HH:mm:ss'。 格式要求 year -> yyyy/yy month -> MM/M day -> dd/d hour -> HH/H minute -> mm/m second -> ss/s
DateUtil
Date Util.
DownloadProgress
Progress of the file that is being downloaded from the originalUrl.
EncryptUtil
Encrypt Util.
EnInfo
EnNormalInfo
FimBaseFunction
FimBaseInnerWidget
通常是和 viewpager 联合使用 , 类似于Android 中的 fragment 不过生命周期 还需要在容器父类中根据tab切换来完善
FimBaseInnerWidgetState<T extends FimBaseInnerWidget>
FimBaseWidget
FimBaseWidgetState<T extends FimBaseWidget>
FimCard
卡片
FimCommonCell
FimCommonUtil
FimConstant
FimGlobalConfiguration
FimHexColor
FimImageUtils
FimLoadAssetImage
加载本地资源图片
FimLoadData
FimLoadImage
图片加载(支持本地与网络图片)
FimResultData
网络结果数据 Created by guoshuyu Date: 2018-07-16
FimSafeMap
JsonUtil
Json Util.
LogUtil
Log Util.
MoneyUtil
Money Util.
MultiImageStreamCompleter
An ImageStreamCompleter with support for loading multiple images.
NumUtil
Num Util.
ObjectUtil
Object Util.
RegexUtil
Regex Util.
TextUtil
Text Util.
TimelineInfo
Timeline information configuration. Timeline信息配置.
TimelineUtil
TimelineUtil
TimerUtil
TimerUtil.
ZhInfo
ZhNormalInfo

Properties

ID_CARD_PROVINCE_DICT List<String>
id card province dict.
read / write
MONTH_DAY Map<int, int>
month->days.
read / write
timeDilation double
Slows down animations by this factor to help in development.
read-only

Functions

setLocaleInfo(String locale, TimelineInfo timelineInfo) → void
add custom configuration.

Enums

DayFormat
(xx)Configurable output. (xx)为可配置输出.
ImageRenderMethodForWeb
Currently there are 2 different ways to show an image on the web with both their own pros and cons, using a custom HttpGet or an HTML Image element mentioned here on a GitHub issue. [...]
MoneyFormat
MoneyUnit
PageStatus
界面状态

Typedefs

ErrorListener = void Function()
Function which is called after loading the image failed.
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, dynamic 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.
OnTimerTickCallback = void Function(int millisUntilFinished)
timer callback.(millisUntilFinished 毫秒).
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.