FloatingRibbonUtilAzul constructor
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
.
If the ribbonTextStyle
argument is null, the text will use the style from the
closest enclosing DefaultTextStyle.
Implementation
FloatingRibbonUtilAzul({
Key? key,
required this.height,
required this.width,
required this.childHeight,
required this.childWidth,
required this.child,
this.topMargin = 0.0,
this.childDecoration,
required this.ribbon,
this.ribbonHeight = 20,
this.clipper = Clipper.right,
this.ribbonSwatch = Colors.redAccent,
this.ribbonShadowSwatch = Colors.red,
required this.shadowHeight,
this.equilateralTriangleWidth = 5,
}) : super(key: key);