og1_ui library
Classes
- CachedNetworkImage
- Image widget to show NetworkImage with caching functionality.
- CachedNetworkImageProvider
- IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
- CommodityModel
- CommodityService
- DownloadProgress
- Progress of the file that is being downloaded from the originalUrl.
- LanguageModel
- LanguageService
- MenuProfileAvatar
- MenuSectionModel
- MultiImageStreamCompleter
- An ImageStreamCompleter with support for loading multiple images.
- Og1AppBar
- Og1Avatar
- Og1Commodity
- Og1CommodityPicker
- Og1IconLauncher
- Og1Language
- Og1LanguagePicker
- Og1Layout
- Og1MasterDetails
- Og1Menu
- Og1MenuSection
- Og1ProgressBar
- Og1ThemeModeSelector
- SupportedCommodities
- SupportedLanguages
- TabModel
Enums
- CacheManagerLogLevel
- Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
- SupportedCommoditiesEnum
- SupportedLanguagesEnum
Properties
- avatarDecoration ↔ BoxDecoration
-
getter/setter pair
- timeDilation → double
-
Slows down animations by this factor to help in development.
no setter
Typedefs
-
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.
- 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.