flutter_things library
Contains useful things for flutter.
Classes
- Contrast
- Provides preferred ContrastLevel to use for your theme.
- ContrastLevel
- Contrast level.
- HorzGap
- Represents vertical space. Use instead of Padding( padding: EdgeInsets.only(left: value) )
-
ItemSelectionController<
K> - Item selection controller.
- MediaQueryReadOnly
- Provides read-only MediaQuery things.
-
ModelProvider<
M> -
Model provider, based on ModelProviderAspect of
M. -
ModelProviderAspect<
M, V> -
Provider<
T> - RenderSliverGap
- Insets a RenderSliver, applying padding on each side.
- RenderSliverGapBase
- RuntimePlatform
- Provides runtime detection of a specific platform.
- SliverGap
- A sliver that applies gap between slivers.
- SvgPathClipper
- Path clipper based on https://www.w3.org/TR/SVG2/paths.html#PathData. Not stable.
- ThreeStateAppRunner
- Wrapper for runApp and runWidget.
- ThreeStateView
- Bootstraps a render tree that is rendered into the provided FlutterView.
- TimerBuilder
- You probably don't need it...
-
ValueAspectListenableBuilder<
T, A> - A widget whose content stays synced with a ValueListenable.
-
ValueListenableProvider<
T> -
ValueStreamProvider<
T> - VertGap
- Represents vertical space. Use instead of Padding( padding: EdgeInsets.only(top: value) )
Enums
- AndroidType
- Android device types.
- ThreeState
Extensions
-
ColiseumState
on State<
T> - Useful things for a State.
- WatchReadAspectContext on BuildContext
- Provides simpler methods to watch what's ModelProvider provides.
- WatchReadContext on BuildContext
- Provides simpler methods to watch what's Provider and ModelProvider provide.
Functions
Typedefs
-
ValueAspectWidgetBuilder<
A> = Widget Function(BuildContext context, A value, Widget? child) - Builds a Widget when given a concrete value of a ValueListenable<T>.