PerceiveSlidable class
Sliding sheet with a built in page view and page navigation
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PerceiveSlidable
Constructors
-
PerceiveSlidable({Key? key, PerceiveSlidableController? controller, Color? backgroundColor, Color? minBackdropColor, double initialExtent = 0.4, double minExtent = 0.0, double mediumExtent = 0.4, double expandedExtent = 1.0, List<
double> ? additionalSnappings, Widget header(BuildContext context, dynamic pageObj, Widget spacer, double borderRadius)?, Widget persistentHeader(BuildContext context, Widget spacer, double borderRadius)?, Widget customBodyBuilder(BuildContext context, SheetState?, double)?, dynamic extentListener(double extent)?, PerceiveSlidableDelegate? delegate, bool staticSheet = false, bool isBackgroundIntractable = false, bool closeOnBackdropTap = true, bool doesPop = true}) -
const
Properties
-
additionalSnappings
→ List<
double> ? -
Any additional snapping
final
- backgroundColor → Color?
-
The background color for the sliding sheet
final
- closeOnBackdropTap → bool
-
final
- controller → PerceiveSlidableController?
-
Controller for the sheet
final
- customBodyBuilder → Widget Function(BuildContext context, SheetState?, double)?
-
The optional builder for the body of the sheet
final
- delegate → PerceiveSlidableDelegate?
-
The custom delegate used to build the sheet
final
- doesPop → bool
-
final
- expandedExtent → double
-
The max extent of the sliding sheet
final
- extentListener → dynamic Function(double extent)?
-
Listeners
final
-
The persistent footer on the sliding sheet
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget Function(BuildContext context, dynamic pageObj, Widget spacer, double borderRadius)?
-
Optional builder for the initial delegate
final
- initialExtent → double
-
Starting extent, does not have a snapping
final
- isBackgroundIntractable → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mediumExtent → double
-
The middle resting extent of the sliding sheet
final
- minBackdropColor → Color?
-
The color behind the sliding sheet
final
- minExtent → double
-
The lowest possible extent for the sliding sheet
final
- persistentHeader → Widget Function(BuildContext context, Widget spacer, double borderRadius)?
-
A persistent header over the navigator, when defined, disables any delegates from building headers
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staticSheet → bool
-
If the sheet should be static or not
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _PerceiveSlidableState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getIntervalFromExtent(
double extent, double extentMatcher) → double
Constants
- EXPANDED_BORDER_RADIUS → const double
- INITIAL_BORDER_RADIUS → const double