material library

Classes

CurvedFamilyMotion
FamilyAdaptiveStyle
FamilyDockedPlacement
FamilyFloatingPlacement
FamilyMaterialSheet
A Material-styled preset over FamilyModalSheet. Import package:family_bottom_sheet/material.dart.
FamilyModalRoute<T>
The modal route behind FamilyModalSheet.show: a FamilyPageStack shown as a sheet docked to the bottom edge or floating in the middle.
FamilyModalSheet
Shows a stack of pages as a sheet docked to the bottom or floating in the middle, or whichever suits the screen, and lets the pages push and pop each other.
FamilyMotion
How something in the package moves: a spring, or a fixed-length curve.
FamilyPageStack
A stack of page that keeps every widget alive while it is in the stack, animate between them, and resizes itself to the page on top
FamilyPageStackState
FamilyPageTransitions
FamilyPresentationScope
FamilyPresentationStyle
How FamilyModalSheet.show presents its pages: a sheet docked to the bottom or floating in the middle, or one picked by the screen.
FamilyResolvedStyle
FamilySheetPlacement
This is the resting state of a sheet
FamilySheetStyle
FamilySheetTheme
Sets the defaults for every FamilyModalSheet.show below it, so a call only needs a context and a builder.
FamilySheetThemeData
Defaults for every FamilyModalSheet.show below a FamilySheetTheme. Anything passed to show itself wins.
ResolvedFamilySheetThemeData
A FamilySheetThemeData with every gap filled by the package default, as FamilySheetTheme.of returns it.
SpringFamilyMotion

Enums

FamilyAnchor
Which edge stays still as a floating sheet resizes between pages.
FamilyPresentation
How the pages are being presented right now, so a surface or a page can adapt

Functions

defaultFamilySurface(BuildContext context, Widget child) → Widget

Typedefs

FamilyPageTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child)
Builds the transition around one page of a FamilyPageStack
FamilyPresentationResolver = FamilyPresentationStyle Function(BuildContext context)
Picks the presentation to use right now. Called on every layout, so the sheet follows the screen as it changes. It may return any presentation, FamilyPresentationStyle.adaptive included.
FamilySurfaceBuilder = Widget Function(BuildContext context, Widget child)
Wraps the FamilyPageStack in your own surface: background, shape, padding, drag handle, shadow. child is the page stack.