extensions library
Flutter extension methods and small services for colors, layout, context, icons, time, and theme mode.
Classes
- Breakpoints
- ColorMath
- IconDataCodec
- Scoped parser that avoids adding icon parsing behavior to every String.
- ThemeModes
Enums
Extensions
- AlignmentX on Alignment
- Extension methods for Alignment.
- AnimationControllerX on AnimationController
- Extension methods for AnimationController.
-
AnimationX
on Animation<
T> - Extension getters and methods for Animation.
- BoxConstraintsX on BoxConstraints
- BrightnessX on Brightness
- Readability helpers on Brightness.
- BuildContextResponsiveX on BuildContext
- BuildContextX on BuildContext
- ColorX on Color
- DateTimeTimeOfDayX on DateTime
- Converts a DateTime to its wall-clock time.
- EdgeInsetsX on EdgeInsets
- Extension methods for modifying EdgeInsets.
- FocusNodeX on FocusNode
- Extension methods for FocusNode.
- IconDataX on IconData
- ListenableX on Listenable
- Extension methods for Listenable.
- ScrollControllerX on ScrollController
- Position queries and scroll shortcuts on ScrollController.
- StringColorX on String
- StringThemeModeX on String
- TextEditingControllerX on TextEditingController
- Text inspection and cursor management on TextEditingController.
- TextStyleNullableX on TextStyle?
-
Fluent styling on a nullable TextStyle, for
Theme.of(context).textThemeslots, which are all nullable. - TextStyleX on TextStyle
- Extension methods for fluent TextStyle styling.
- ThemeDataX on ThemeData
-
Brightness shortcuts on
ThemeData. - ThemeModeX on ThemeMode
- TimeOfDayX on TimeOfDay
-
Arithmetic, comparison, and formatting for
TimeOfDay. -
ValueNotifierX
on ValueNotifier<
T> - Extension methods for ValueNotifier.
-
WidgetListX
on List<
Widget> -
Turns a
List<Widget>into a laid-out widget without the usualColumn(children: ...)ceremony, and inserts separators between items. - WidgetX on Widget
- Ergonomic layout and composition extension methods on Widget.