flutter_extended library
Classes
- ColorHex
- A utility class to create a Color from a hex string.
- ExtendedAlertDialog
- A customizable AlertDialog with optional title, message, and action buttons. Supports styling and centering text, as well as custom colors for confirm/cancel buttons.
- FlutterExtended
-
Global configuration for
flutter_extended. -
PageTransition<
T> - Page transition class extends PageRouteBuilder
- ShimmerWidget
- A widget that applies a shimmering loading effect to its child.
- StyledText
- A simple wrapper around Text widget that applies a predefined TextStyle.
- Transitions
Enums
- PageTransitionType
- Transition enum
Extensions
- ExtAll on T
- ExtBool on bool?
- Extension for bools
- ExtBoxDecoration on BoxDecoration
- ExtColor on Color
- ExtContext on BuildContext
- ExtDate on DateTime
- ExtDuration on Duration
- ExtFalsy on T?
- Extension that adds falsy/truthy helpers to nullable values.
-
ExtFuture
on Future<
T> -
ExtGlobalkey
on GlobalKey<
State< StatefulWidget> > - ExtInputDecoration on InputDecoration
-
ExtItNum
on Iterable<
T> -
ExtList
on List<
T> -
ExtListBool
on List<
bool> -
ExtListWidget
on List<
Widget> -
ExtMap
on Map<
K, V> - ExtNum on num
-
ExtStream
on Stream<
T> - ExtString on String
- ExtText on Text
- ExtTextController on TextEditingController
- ExtTextStyle on TextStyle
- ExtWidget on Widget
-
IterableExt
on Iterable<
T> - PageTransitionExtension on BuildContext
- PageTransitionUtils on BuildContext
Properties
- black → Color
-
final
- blue → Color
-
final
- brown → Color
-
final
- cyan → Color
-
final
- darkGray → Color
-
final
- gray → Color
-
final
- green → Color
-
final
- lightGray → Color
-
final
- magenta → Color
-
final
- orange → Color
-
final
- purple → Color
-
final
- red → Color
-
Common predefined colors
final
- shrink → Widget
-
Exposes an empty widget (SizedBox.shrink).
no setter
- transparent → Color
-
final
- TS → TextStyle
-
A base TextStyle instance to start chaining from.
final
- white → Color
-
final
- yellow → Color
-
final
Functions
-
falsy<
T> (T? falsable, T fallback) → T -
Returns
fallbackwhenfalsableisnullor considered falsy. -
sliverListView(
{required int count, required Widget? builder(BuildContext context, int index)}) → Widget - Creates a SliverList with a fixed number of items.
-
sliverScrollView(
{required List< Widget> children, ScrollController? controller, Key? key}) → Widget - Creates a CustomScrollView from a list of widgets, automatically converting non-sliver widgets into SliverToBoxAdapter.
-
twoDigits(
int n) → String
Typedefs
- ChildBuilder = Widget Function(BuildContext context)
- Builder function type for creating child widget
-
TransitionPageBuilder
= Widget Function(BuildContext context, Animation<
double> animation, Animation<double> secondaryAnimation) - This package allows you amazing transition for your routes Builder function type for creating the transition page