VxFlip class

Inheritance
Available Extensions

Constructors

VxFlip({Key? key, required Widget front, required Widget back, Duration duration = const Duration(milliseconds: 300), VoidCallback? onFlip, VxFlipOnFlipCallback? onFlipDone, Axis direction = Axis.horizontal, VxFlipCallback? onVxFlipState, bool touchFlip = true, bool initialFront = true, Alignment? alignment = Alignment.center, VxFill fill = VxFill.front})
const

Properties

alignment Alignment?
Alignment of the card
final
back Widget
Widget to be displayed on the back side of the card
final
direction Axis
Direction of the flip animation (horizontal or vertical)
final
duration Duration
Duration of the flip animation
final
fill VxFill
Filling behavior of the card (none, front, back)
final
front Widget
Widget to be displayed on the front side of the card
final
hashCode int
The hash code for this object.
no setterinherited
initialFront bool
Initial side of the card (front or back)
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onFlip VoidCallback?
Callback function called when the flip animation starts
final
onFlipDone VxFlipOnFlipCallback?
Callback function called when the flip animation completes
final
onVxFlipState VxFlipCallback?
Callback function called to get the VxFlipState
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
touchFlip bool
Enables or disables flip on touch
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
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}) 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