FloatingRibbonUtilAzul class

Inheritance

Constructors

FloatingRibbonUtilAzul({Key? key, required double height, required double width, required double childHeight, required double childWidth, required Widget child, double topMargin = 0.0, Decoration? childDecoration, required Widget ribbon, double ribbonHeight = 20, Clipper clipper = Clipper.right, Color ribbonSwatch = Colors.redAccent, Color ribbonShadowSwatch = Colors.red, required double shadowHeight, double equilateralTriangleWidth = 5})
Creates a FloatingRibbonUtilAzul widget. FloatingRibbonUtilAzul is a widget that displays a horizontal ribbon over child.

Properties

child Widget
A widget renders the ribbon over child widget tree. child is the area occupied by the ribbon. You can build child from whatever Widget you like.
final
childDecoration Decoration?
childDecoration sets the decoration for its child
final
childHeight double
childHeight defines the height of you child which is typically an Image Widget.
final
childWidth double
childWidth defines the width of you child which is typically an Image Widget.
final
clipper Clipper
If non-null, clipper defines what type of shadow you want.
final
equilateralTriangleWidth double
If non-null, equilateralTriangleWidth defines the width of the shadow.
final
hashCode int
The hash code for this object.
no setterinherited
height double
height defines the height of the box occupied by its children.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
ribbon Widget
ribbon defines the child widget displayed on the ribbon.
final
ribbonHeight double
If non-null, ribbonHeight defines the height of the image.
final
ribbonShadowSwatch Color
If non-null, ribbonShadowSwatch defines the primary swatch for the ribbon.
final
ribbonSwatch Color
If non-null, ribbonSwatch defines the primary swatch for the ribbon.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowHeight double
If non-null, shadowHeight defines the height of the shadow.
final
topMargin double
final
width double
width defines the width of the box occupied by its children.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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