PatternStyleData class
- Mixed in types
Constructors
- PatternStyleData({double? tapRange, Paint linePaint(PatternState state)?, Widget dotBuilder(PatternState state)?, PatternPainterCallback? dotPainter})
-
a PatternStyleData
factory
- PatternStyleData.newAndroid()
-
a new android style pattern
factory
- PatternStyleData.raw({required double tapRange, required Paint linePaint(PatternState state), required Widget dotBuilder(PatternState state)?, required PatternPainterCallback? dotPainter})
- original usage of PatternStyleData
Properties
- dotBuilder → (Widget Function(PatternState state)?)
-
the Widget to draw dot
final
- dotPainter → PatternPainterCallback?
-
the PatternPainterCallback to draw dot
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- linePaint → Paint Function(PatternState state)
-
the Paint to draw line
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tapRange → double
-
the tap range of each dots
final
Methods
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
covariant PatternStyleData other) → bool -
The equality operator.
override