base_style_sheet library
Classes
- AnimatedDot
- AppBarButton
- AppTextStyle
- App text styles defined by our UX Team.
- AppThemeBase
- AppThemeFactory
- AutoSizeGroup
- Controller to synchronize the fontSize of multiple AutoSizeTexts.
- AutoSizeText
- Flutter widget that automatically resizes text to fit perfectly within its bounds.
- BaseCacheManager
- Interface of the CacheManager. In general CacheManager can be used directly.
- BottomSheetAlert
- BottomSheetDragIcon
- CachedNetworkImage
- Image widget to show NetworkImage with caching functionality.
- CachedNetworkImageProvider
- IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
- CacheInfoRepository
- Base class for cache info repositories
- CacheLogger
- CacheLogger which is used by the cache manager to log useful information
- CacheManager
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Basic cache manager implementation, which should be used as a single instance.
- CacheObject
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Cache information of one file
- CacheObjectProvider
- ColumnLabelValue
- ColumnLabelValueShimmer
- Config
- CouponBorderPainter
- CustomAlert
- CustomAppBar
- CustomBottomSheet
- CustomButton
- CustomCard
-
CustomCheckboxTile<
T> - CustomDialog
- CustomDivider
-
CustomDropdown<
T> -
CustomDropdownItem<
T> -
CustomExpansion<
T> -
CustomExpansionState<
T> - CustomImage
- CustomInputField
- CustomItemTile
- CustomLoading
- CustomPdfView
- CustomPhotoView
- CustomPinField
-
CustomRadioTile<
T> - CustomRefreshIndicator
- CustomRequestError
- CustomScrollContent
- CustomShimmer
- CustomSnackBar
- CustomTabBar
- CustomTooltip
- CustomWebView
- CustomWebViewState
-
CustomWrap<
T> - DashedDivider
- DashedRect
- DashRectPainter
- DefaultCacheManager
- The DefaultCacheManager that can be easily used directly. The code of this implementation can be used as inspiration for more complex cache managers.
- DownloadProgress
- Progress of the file that is being downloaded from the originalUrl.
- ExpansionShimmer
- FileFetcherResponse
- FileInfo
- FileInfo contains the fetch File next to some info on the validity and the origin of the file.
- FilePicker
- The interface that implementations of file_picker must implement.
- FilePickerIO
- An implementation of FilePicker that uses method channels.
- FilePickerLinux
- FilePickerMacOS
- FilePickerResult
- FilePickerWindows
- FileResponse
- FileService
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Defines the interface for a file service. Most common file service will be an HttpFileService, however one can also make something more specialized. For example you could fetch files from other apps or from local storage.
- FileServiceResponse
- Defines the interface for a get result of a FileService.
- FileSystem
- HttpFileFetcherResponse
- Deprecated
- HttpFileService
-
HttpFileService is the most common file service and the default for
WebHelper
. One can easily adapt it to use dio or any other http client. - HttpGetResponse
- Basic implementation of a FileServiceResponse for http requests.
- ImagePicker
- Provides an easy way to pick an image/video from the image library, or to take a picture/video with the camera.
- InputLabel
- InverseBorderShape
- IOFileSystem
- JsonCacheInfoRepository
- ListEmpty
- LocalTheme
- LostData
- The response object of ImagePicker.retrieveLostData.
- LostDataResponse
-
The response object of
ImagePicker.getLostData
. - MemoryCacheSystem
- MultiImageStreamCompleter
- An ImageStreamCompleter with support for loading multiple images.
- NonStoringObjectProvider
-
PagedListController<
E, S> -
PagedListView<
E, S> - PickedFile
- A PickedFile is a cross-platform, simplified File abstraction.
- PlatformFile
- RatingBar
- A widget to receive rating input from users.
- RatingBarIndicator
- A widget to display rating as assigned using rating property.
- RatingWidget
- Defines widgets which are to used as rating bar items.
- RowLabelValue
- RowLabelValueShimmer
- SizeConfig
- Class to initialize calculation for responsiveness must be called when the app is started
- Spacing
- Default app spacing sizes, considering responsiveness.
- TabBarItem
- TextLink
- ThemeFactory
- ThemeData factory
- TypographyBuilder
- Builder class to construct styles related to Typography.
- XFile
- A CrossFile is a cross-platform, simplified File abstraction.
Enums
- AppFontSize
- AppFontWeight
- AppLineHeight
- ButtonHeightType
- ButtonType
- CacheManagerLogLevel
- Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
- CameraDevice
-
Which camera to use when picking images/videos while source is
ImageSource.camera
. - DotState
- DotState of AnimatedDot
- DropdownHeightType
- ExpansionState
- FilePickerStatus
- FileSource
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Enum for whether the file is coming from the cache or is just downloaded.
- FileType
- ImageSource
- Specifies the source where the picked image should come from.
- InputHeightType
- LoadingType
- RetrieveType
- The type of the retrieved data in a LostDataResponse.
- SnackBarType
- TabState
Mixins
Extensions
- AppBarThemeExtension on AppBarTheme
- BuildContextExt on BuildContext
- Extensions for BuildContext class
- ElevatedButtonThemeDataExtension on ElevatedButtonThemeData
- InputDecorationThemeExtension on InputDecorationTheme
- MigrationExtension on CacheInfoRepository
- Responsive on num
- Extension to use values using num
- SpacingExtensions on Spacing
- Add extension methods to Spacing handle responsiveness.
- TextThemeExtension on TextTheme
- ThemeDataExtension on ThemeData
- ThemeModeExtension on ThemeMode
Constants
- defaultDialogTitle → const String
- kTypeImage → const String
- Denotes that an image is being picked.
- kTypeVideo → const String
- Denotes that a video is being picked.
-
supportedFileNames
→ const List<
String>
Properties
- cacheLogger ↔ CacheLogger
-
Instance of the cache manager. Can be set to a custom one if preferred.
getter/setter pair
- timeDilation → double
-
Slows down animations by this factor to help in development.
no setter
Typedefs
-
FileFetcher
= Future<
FileFetcherResponse> Function(String url, {Map<String, String> ? headers}) - Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Deprecated FileFetcher function
-
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.