DiagonalStripesThick class

Inheritance

Constructors

DiagonalStripesThick({required Color bgColor, required Color fgColor, int featuresCount = Pattern.DEFAULT_DIAGONAL_STRIPES_COUNT})
Paints a Pattern made of 15 thick diagonal stripes across the largest side with the foreground color as the stripe color.
const

Properties

bgColor Color
The Pattern's background color.
final
description String
no setteroverride
featuresCount int
final
fgColor Color
The Pattern's foreground color (for the stripes, dots, squares, etc.).
final
hashCode int
The hash code for this object.
no setterinherited
patternType PatternType
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintOnCanvas(Canvas canvas, Size size) → void
Paint the Pattern on the whole Canvas size.
inherited
paintOnCircle(Canvas canvas, Size size, Offset center, double radius, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect}) → void
Paint the Pattern on a Circle, defined by a center Offset and a radius.
inherited
paintOnPath(Canvas canvas, Size size, Path path, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect}) → void
Paint the Pattern on a Path.
inherited
paintOnRect(Canvas canvas, Size size, Rect rect, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect}) → void
Paint the Pattern on a Rect.
inherited
paintOnRRect(Canvas canvas, Size size, RRect rRect, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect}) → void
Paint the Pattern on a RRect.
inherited
paintOnWidget(Canvas canvas, Size size, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect}) → void
Paint the Pattern on a widget.
inherited
paintWithPattern(Canvas canvas, double x, double y, double width, double height) → void
After clipping the canvas to the shape we want, paint the Pattern on the rectangle defined by the provided x, y, width, height.
override
toString() String
A string representation of this object.
inherited

Operators

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