src library
Classes
- AndroidBuildVersion
-
Version values of the current Android operating system build derived from
android.os.Build.VERSION
. - AndroidDeviceInfo
-
Information derived from
android.os.Build
. - AndroidDisplayMetrics
- Details for the current display
- BaseDeviceInfo
- The base class for platform's device info.
- C0
- C1
- C10
- C100
- C15
- C150
- C2
- C20
- C3
- C30
- C4
- C40
- C5
- C50
- C6
- C8
- CachedNetworkImage
- Image widget to show NetworkImage with caching functionality.
- CachedNetworkImageProvider
- IO implementation of the CachedNetworkImageProvider; the ImageProvider to load network images using a cache.
- DeviceInfoPlugin
- Provides device and operating system information.
- DeviceInfoPlusLinuxPlugin
-
See
DeviceInfoPlatform
- DeviceInfoPlusWindowsPlugin
-
The Windows implementation of
DeviceInfoPlatform
. - DottedScaleXWidget
- DownloadProgress
-
Progress of the file that is being downloaded from the
originalUrl
. - FocusDetector
- Fires callbacks every time the widget appears or disappears from the screen.
- FontSizeResolvers
- IosDeviceInfo
-
Information derived from
UIDevice
. - IosUtsname
-
Information derived from
utsname
. See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details. - LinuxDeviceInfo
- Device information for a Linux system.
- MacOsDeviceInfo
- Object encapsulating MACOS device information.
- MultiImageStreamCompleter
- An ImageStreamCompleter with support for loading multiple images.
- NSUtils
- P1
- P10
- P2
- P20
- P30
- P40
- P5
- P8
- PackageInfo
- Application metadata. Provides application bundle information on iOS and application package information on Android.
- PackageInfoPlusLinuxPlugin
-
The Linux implementation of
PackageInfoPlatform
. - PackageInfoPlusWindowsPlugin
-
The Windows implementation of
PackageInfoPlatform
. - PH10
- RebuildFactors
- ReCase
- An instance of text to be re-cased.
- REdgeInsets
- REdgeInsetsDirectional
- RingPainter
- RPadding
- RSizedBox
- ScaleYWidget
- ScreenUtil
- ScreenUtilInit
- Sizes
- Adapting screen and font size. Let your UI display a reasonable layout on different screen sizes!
- SliverVisibilityDetector
- SpinKitChasingDots
- SpinKitCircle
- SpinKitCubeGrid
- SpinKitDancingSquare
- SpinKitDoubleBounce
- SpinKitDualRing
- SpinKitFadingCircle
- SpinKitFadingCube
- SpinKitFadingFour
- SpinKitFadingGrid
- SpinKitFoldingCube
- SpinKitHourGlass
- SpinKitPianoWave
- SpinKitPouringHourGlass
- SpinKitPouringHourGlassRefined
- SpinKitPulse
- SpinKitPulsingGrid
- SpinKitPumpCurve
- SpinKitPumpingHeart
- SpinKitRing
- SpinKitRingCurve
- SpinKitRipple
- SpinKitRotatingCircle
- SpinKitRotatingPlain
- SpinKitSpinningCircle
- SpinKitSpinningLines
- SpinKitSquareCircle
- SpinKitThreeBounce
- SpinKitThreeInOut
- SpinKitWanderingCubes
- SpinKitWave
- SpinkitWaveCustomPaint
- SpinKitWaveSpinner
- SpinningLinesPainter
- SPService
-
StackX<
T> - StackX is Stack like DS
- VisibilityDetector
- A VisibilityDetector widget fires a specified callback when the widget changes visibility.
- VisibilityDetectorController
- A VisibilityDetectorController is a singleton object that can perform actions and change configuration for all VisibilityDetector widgets.
- VisibilityInfo
- Data passed to the VisibilityDetector.onVisibilityChanged callback.
- WebBrowserInfo
-
Information derived from
navigator
. - WindowsDeviceInfo
- Object encapsulating WINDOWS device information.
Enums
- BrowserName
- List of supported browsers
- CacheManagerLogLevel
- Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
- DeviceType
- SpinKitPianoWaveType
- SpinKitWaveType
Mixins
-
AfterLayoutMixin<
T extends StatefulWidget> - SU
Extensions
- BorderRadiusExtension on BorderRadius
- BoxConstraintsExtension on BoxConstraints
- ContextExtensions on BuildContext
- DateExtensions on DateTime
- DoubleExtensions on double
- DurationExtensions on Duration
- EdgeInsetsExtension on EdgeInsets
- FunctionExtensions on Function
- FunctionExtensions Useful extensions for Function class.
- GestureDetectorExtensions on Widget
- IntExtensions on int
- ListExtensions on List
- extension methods for List
-
ListStringExtension
on List<
String> - MapExtensions on Map
- extension methods for Map
- RadiusExtension on Radius
- SizeExtension on num
- StringExtensions on String
- StringNullExtensions on String?
- StringReCase on String
- WidgetsExtension on Widget
Properties
- appLogsNS ↔ LogCallBack
-
getter/setter pair
- defaultScreenHeight ↔ double
-
getter/setter pair
- defaultScreenWidth ↔ double
-
getter/setter pair
- errorLogsNS ↔ ErrorLogCallBack
-
getter/setter pair
- screenHeight ↔ double
-
getter/setter pair
- screenWidth ↔ double
-
getter/setter pair
- timeDilation → double
-
Slows down animations by this factor to help in development.
no setter
- uniqueId → String
-
no setter
- uniqueObjectId → String
-
no setter
Functions
Typedefs
- ErrorLogCallBack = void Function(Object object, [dynamic error, StackTrace stackTrace])
- FontSizeResolver = double Function(num fontSize, ScreenUtil instance)
-
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.
- LogCallBack = void Function(Object object, [Object detail])
- 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.
- RebuildFactor = bool Function(MediaQueryData old, MediaQueryData data)
- ScreenUtilInitBuilder = Widget Function(BuildContext context, Widget? child)
- VisibilityChangedCallback = void Function(VisibilityInfo info)