A Material-styled preset over FamilyModalSheet. Import
package:family_bottom_sheet/material.dart.
Use surface in a FamilySheetTheme to make it the app-wide default, or show for a one-off.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
show<
T> ({required BuildContext context, required WidgetBuilder builder, FamilyPresentationStyle? presentation, Color? backgroundColor, EdgeInsets padding = EdgeInsets.zero, BorderRadius? borderRadius, BorderRadius? floatingBorderRadius, double elevation = 0, bool showDragHandle = false, Color? barrierColor, bool? isDismissible, RouteSettings? routeSettings}) → Future< T?> -
Shows
builder's page with the surface look and Material's barrier colour and accessibility labels. -
surface(
{Color? backgroundColor, EdgeInsets padding = EdgeInsets.zero, BorderRadius? borderRadius, BorderRadius? floatingBorderRadius, double elevation = 0, bool showDragHandle = false}) → FamilySurfaceBuilder - A Material surface.