FSheetStyle class

A sheet's style.

Mixed-in types
Available extensions

Constructors

FSheetStyle.new({ImageFilter barrierFilter(double animation)?, Duration enterDuration = const Duration(milliseconds: 200), Duration exitDuration = const Duration(milliseconds: 200), double flingVelocity = 700, double closeProgressThreshold = 0.5})
Creates a FSheetStyle.
const
FSheetStyle.inherit({required FColors colors})
Creates a FSheetStyle that inherits its colors from the given FColors.

Properties

barrierFilter ImageFilter Function(double animation)?
An optional callback that takes the current animation transition value (0.0 to 1.0) and returns an ImageFilter that is used as the barrier. Defaults to null.
final
closeProgressThreshold double
The threshold for determining whether the sheet is closing. Defaults to 0.5.
final
enterDuration Duration
The entrance duration. Defaults to 200ms.
final
exitDuration Duration
The exit duration. Defaults to 200ms.
final
flingVelocity double
The minimum velocity to initiate a fling. Defaults to 700.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Object? _) FSheetStyle
Returns itself.
inherited
copyWith({ImageFilter barrierFilter(double)?, Duration? enterDuration, Duration? exitDuration, double? flingVelocity, double? closeProgressThreshold}) FSheetStyle

Available on FSheetStyle, provided by the $FSheetStyleCopyWith extension

Returns a copy of this FSheetStyle with the given properties replaced.
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited