Flipper class

Inheritance

Constructors

Flipper({Key? key, required Widget front, required Widget? back, required FlipperController controller, double height = 220, double width = 324, Border? border, EdgeInsets padding = const EdgeInsets.symmetric(vertical: 8, horizontal: 12), EdgeInsets? margin, Color backgroundColor = const Color(0xff0c0c0c), BorderRadiusGeometry? borderRadius, Gradient? gradient, BoxShape shape = BoxShape.rectangle, bool showShadow = true})
const

Properties

back Widget?
The Widget to be shown on the back of the Flipper.
final
backgroundColor Color
The color to fill in the background of the flipper.
final
border Border?
The border to be added to the Flipper.
final
borderRadius BorderRadiusGeometry?
If non-null, the corners of this box are rounded by this BorderRadius.
final
controller FlipperController
The controller that controls the animation of the flipper manually. Use the controller to add programmatic buttons. Pass the direction of Drag to the controller. It is a required parameter.
final
front Widget
The Widget to be shown on the front of the Flipper.
final
gradient Gradient?
A gradient to use when filling the box.
final
hashCode int
The hash code for this object.
no setterinherited
height double
The height of the Flipper.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsets?
The margin to be applied outside the Flipper.
final
padding EdgeInsets
The padding to be applied inside the Flipper.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape BoxShape
The shape to fill the background color, gradient, and image into.
final
showShadow bool
FlipperShadow to be shown under the Flipper widget.
final
width double
The width of the Flipper.
final

Methods

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