fast_app library

fast_app.dart fast_app Created by qiuguian on 2019/10/21. Copyright © 2019 fastapp. All rights reserved.

website: http://www.fastapp.top

Classes

BaseController<T>
BaseController
BasePainter
BitmapCache
CachedNetworkImage
Image widget to show NetworkImage with caching functionality.
CachedNetworkImageProvider
IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
CacheWidget<T>
ColorPainter
CustomLayoutOption
DefaultStatusListener
DotSwiperPaginationBuilder
DownloadProgress
Progress of the file that is being downloaded from the originalUrl.
DropPainter
EmptyListener
FastActions
FastApp
FastAppBar
FastAppHttp
FastBannerView
FastButton
FastCache<T>
FastCustomButton
FastCustomRowView
FastCutDownButton
FastData
FastDataBind
FastEmptyView
FastFormat
FastFormat
FastGroupModel
FastGroupRow
FastHttpResponse
FastKeyboardControl
FastListView
FastListViewBuilder
FastListViewBuilderState
FastListViewRefreshBuilder
FastListViewRefreshBuilderState
FastListViewState
FastNotification
FastPageDataBind
FastPageDataBindState
FastPlatform
FastRegExp
正则表达式
FastRequest
FastResponseModel
FastRootTabBar
FastRowView
FastSearchView
FastSeparator
FastState<T extends StatefulWidget>
FastTabBarModel
FastTextField
FastTheme
FastValidate
FastValidate
FastViewModel
FractionPaginationBuilder
MultiImageStreamCompleter
An ImageStreamCompleter with support for loading multiple images.
NonePainter
OpacityTransformBuilder
PageIndicator
PhotoViewNew
iOS android macos window
PhotoViewPage
RectSwiperPaginationBuilder
RootTabBar
RootTabBarState
RotateTransformBuilder
ScaleAndFadeTransformer
ScalePainter
ScaleTransformBuilder
SlidePainter
Swiper
SwiperControl
SwiperController
SwiperCustomPagination
SwiperPagination
SwiperPlugin
plugin to display swiper components
SwiperPluginConfig
SwiperPluginView
TaskStatusListener
TransformBuilder<T>
TranslateTransformBuilder
WarmPainter

Enums

CacheManagerLogLevel
Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
FastAppEnvironment
FastAppPlatform
FastTextFieldType
PageIndicatorLayout
SwiperLayout

Constants

kDefaultAutoplayDelayMs → const int
default auto play delay
kDefaultAutoplayTransactionDuration → const int
Default auto play transition duration (in millisecond)
kMaxValue → const int
kMiddleValue → const int

Properties

currentEnvironment FastAppEnvironment
getter/setter pair
cutDownDurationKey String
getter/setter pair
fastTheme FastTheme
getter/setter pair
fastVersion String
getter/setter pair
final
scaffoldGK GlobalKey<ScaffoldState>
getter/setter pair
timeDilation double
Slows down animations by this factor to help in development.
no setter
userStoreData Map
getter/setter pair

Functions

fastCall([dynamic url = '18176681925']) → dynamic
fastConfirmDialog(BuildContext context, {String title = "温馨提示", String info = "", String cancelBtn = "取消", String sureBtn = "确定", Color sureColor = Colors.blue, Callback? onTap, bool isOnlySureBtn = false, bool barrierDismissible = true, double? width}) Future<void>
fastKnowDialog(BuildContext context, {String title = "Tips", String info = "", String sureBtn = "I have known", Callback? onTap}) Future<void>
fastOpenUrl([dynamic url]) → dynamic
fastRoutePush<T extends Object?>(Widget widget) Future<T?>?
fastSelectBottomView(BuildContext context, {String title = "Select", String cancelName = "Cancel", required List menu, DidSelectItem? didSelect, VoidCallback? didCancel, Color titleColor = Colors.grey, Color valueColor = Colors.blue, Color cancelColor = Colors.blue, Color currentColor = Colors.red, String? currentValue}) → void
fastSelectImageView(BuildContext context, {DidSelect? didSelect, VoidCallback? didCancel}) → void
fastToast(BuildContext context, String msg, {dynamic duration = 1}) → dynamic
fastToastSuccess(BuildContext context, String msg, {Function? timeOutCall}) → dynamic
getStoreValue(String k) Future<String?>
loadAsset(String path) Future<String>
popToPage(Widget page) → dynamic
popToRootPage() → dynamic
pushReplacement(Widget page) → dynamic
routeReplace<T extends Object?>(Widget widget) Future<T?>?
setProxy(Dio dio, {required String proxyUrl}) → dynamic
storeString(String k, dynamic v) → dynamic

Typedefs

ApiCallBack = dynamic Function()
Callback = dynamic Function(dynamic data)
CheckLogin = dynamic Function(dynamic index)
DidSelect = dynamic Function(dynamic item)
DidSelectItem = dynamic Function(dynamic item, dynamic index)
FastGroupRowItem = dynamic Function(dynamic index)
FastPage<T> = dynamic Function(BuildContext context, T viewModel)
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.
ItemWidget = Widget Function(dynamic item)
ItemWidgetBuilder = Widget Function(dynamic context, dynamic position)
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.
OnData = dynamic Function(dynamic t)
OnError = dynamic Function(String msg, int code)
OnHeaders = dynamic Function(dynamic headers)
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.
StoreBuilder<T> = Widget Function(T item)
SwiperDataBuilder = Widget Function(BuildContext context, dynamic data, int index)
SwiperOnTap = void Function(int index)
SwiperPaginationBuilder = Widget Function(BuildContext context, SwiperPluginConfig config)

Exceptions / Errors

AuthError