RulerThemeData class

Annotations
  • @freezed

Constructors

RulerThemeData({RulerSide? notchSide, RulerSide? numberSide, bool? showBase, double? numberSpacing, TextStyle? numberTextStyle, double? notchScaleFactor, Color? notchColor, double? thickness})
factory

Properties

copyWith → $RulerThemeDataCopyWith<RulerThemeData>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
notchColor Color?
The color of the notch (line).
no setterinherited
notchScaleFactor double?
The scale factor of the notch length.
no setterinherited
notchSide RulerSide?
The side of the ruler where the notches are aligned.
no setterinherited
numberSide RulerSide?
Text Side above or below the ruler in horizontal mode and left or right in vertical mode
no setterinherited
numberSpacing double?
The spacing between the notch and the number.
no setterinherited
numberTextStyle TextStyle?
The text style of notch.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBase bool?
show base at the end of notchSide
no setterinherited
thickness double?
The thickness of the notch (line).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

lerp(RulerThemeData? a, RulerThemeData? b, double t) RulerThemeData