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
- A NavigatorObserver that loggs all navigation events to a MessageLogger (defaults to print).
- A NavigatorObserver that reports the current route to a callback.
Extensions
-
AsyncSnapshotBlackHole
on AsyncSnapshot<
T> - BottomSheetContext on BuildContext
- BrightnessMaterialColors on Brightness
-
ContainerRenderObjectMixinBlackHole
on ContainerRenderObjectMixin<
ChildType, ParentDataType> - DoubleColorBlackHole on double
- FancyBrightness on Brightness
- FancyColor on Color
- FancyContext on BuildContext
- FancyScaffoldMessenger on ScaffoldMessengerState
- FancySize on Size
- FancyThemeData on ThemeData
- IntColorBlackHole on int
- MaterialColors on Color
- RandomColor on Random
- ThemeMaterialColors on ThemeData
Typedefs
- MessageLogger = void Function(String message)