black_hole_flutter library

Classes

CenterOrScroll
Centers child if it's smaller than the parent and makes it scrollable along scrollDirection if it's taller.
DragIndicator
ExpandOrScroll
FancyBottomSheet
A wrapper for BottomSheet content that shows a drag indicator at the top.
FancyElevatedButton
In addition to a normal ElevatedButton, this Widget natively supports disabling it and showing a loading state.
FancyFab
In addition to a normal FloatingActionButton, this Widget natively supports disabling it and showing a loading state.
FancyOutlinedButton
In addition to a normal OutlinedButton, this Widget natively supports disabling it and showing a loading state.
FancyTextButton
In addition to a normal TextButton, this Widget natively supports disabling it and showing a loading state.
FillOrWrap
A layout with two different behaviors:
LeftCenterRight
LoggingNavigatorObserver
A NavigatorObserver that loggs all navigation events to a MessageLogger (defaults to print).
ReportingNavigatorObserver
A NavigatorObserver that reports the current route to a callback.

Typedefs

MessageLogger = void Function(String message)