PencilDecoration class

Constructors

PencilDecoration({PencilDecorationType type = PencilDecorationType.blank, EdgeInsets padding = const EdgeInsets.all(0), Color backgroundColor = Colors.transparent, Color patternColor = Colors.black54, double strokeWidth = 1.0, bool hasBorder = false, int? numberOfLines, double? spacing, PencilDecorationPaintProvider? paintProvider, PencilDecorationCustomPainter? customPainter})

Properties

backgroundColor Color
final
customPainter PencilDecorationCustomPainter?
final
hasBorder bool
final
hashCode int
The hash code for this object.
no setterinherited
numberOfLines int?
final
padding EdgeInsets
final
paintProvider PencilDecorationPaintProvider?
final
patternColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double?
final
strokeWidth double
final
type PencilDecorationType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size) → void
Paint the decoration. This paint is always done before the actual content is painted.
toString() String
A string representation of this object.
inherited

Operators

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