flutter_adaptive_ui library
Classes
- AdaptiveBuilder
- Typical usage is as follows:
- AdaptiveDesign
- AdaptiveLayoutDelegate
- AdaptiveLayoutDelegateWithDesignLanguage
- AdaptiveLayoutDelegateWithMinimallScreenSize
- AdaptiveLayoutDelegateWithMinimallScreenType
- AdaptiveLayoutDelegateWithScreenSize
- AdaptiveLayoutDelegateWithScreenType
- AdaptiveLayoutDelegateWithSingleBuilder
- Breakpoint
- Applies a BreakpointData to descendant widgets.
- BreakpointData
- Defines the configuration of the Breakpoint.
- PlatformBuilder
- Screen
- An object that gives some informations about device's screen.
Enums
- DesignLanguage
- Design Language based on the PlatformType.
- PlatformType
- Platform Type based on the TargetPlatform and thekIsWeb
- ScreenSize
- Screen Size based on screen width.
- ScreenType
- Screen Type based on the screen width.
Extensions
- BreakpointX on BuildContext
- Extension methods to get the current breakpoint to a BuildContext.
- ScreenX on Screen
- Extension methods on Screen
Constants
- defaultMinLargeDesktopWidth → const double
- defaultMinLargeHandsetWidth → const double
- defaultMinLargeScreenWidth → const double
- defaultMinLargeTabletWidth → const double
- defaultMinMediumDesktopWidth → const double
- defaultMinMediumHandsetWidth → const double
- defaultMinMediumScreenWidth → const double
- defaultMinSmallDesktopWidth → const double
- defaultMinSmallScreenWidth → const double
- defaultMinSmallTabletWidth → const double
- defaultMinXLargeScreenWidth → const double
Functions
-
getDefaultDesignLanguage(
) → DesignLanguage - A top level function taht obtains DesignLanguage based on the PlatformType.
-
getDefaultPlatform(
) → PlatformType - A top level function taht obtains PlatformType based on the TargetPlatform and the kIsWeb.
Typedefs
- AdaptiveWidgetBuilder = Widget Function(BuildContext context, Screen screen)
- The signature of the AdaptiveBuilder builder function.