fluttils library

Classes

ContextUnfocuser
Hides the soft keyboard by clicking outside of a TextField or anywhere on the screen.
EdgeInsets
A f.EdgeInsets that combines the f.EdgeInsets.only, f.EdgeInsets.symmetric and f.EdgeInsets.all constructors.
FutureBuilder<T>
A f.FutureBuilder that displays a progress indicator while its connection state is not done.
Height
A f.SizedBox with only the height value set.
MappedListView<T>
A f.ListView that creates its children by a map function.
MapStack
A f.Stack that can be created using a Map.
Padding
A f.Padding that combines f.EdgeInsets.only, f.EdgeInsets.symmetric and f.EdgeInsets.all as values.
SafeScaffold
A f.Scaffold wrapped in a f.SafeArea.
Separated
A widget that intersperse a group of children with a separator.
SplashScreen
A splash screen used for loading purposes.
StreamBuilder<T>
A f.StreamBuilder that displays a progress indicator while its connection state is waiting.
Text
A f.Text that populates its attributes from a list of attributes.
Visibility
A widget that hides or show a child widget.
VisibilityLevel
Defines a configuration for f.Visibility that follows the rules defined by its constructor.
Width
A f.SizedBox with only the width value set.

Constants

colors → const List<Color>
All colors in f.Colors.

Functions

showBinaryDialog(BuildContext context, Widget title, Widget content, {required String positiveText, required String negativeText}) Future<bool?>
Shows a AlertDialog with two actions buttons, negative and positive, that respectively pops either false or true.
showSimpleDialog(BuildContext context, Widget title, Widget content, {required String positiveText}) Future<void>
Shows a AlertDialog with a single action button that closes this dialog.