SelectableTextTheme class
Theme data for SelectableText to customize cursor and selection behavior.
Constructors
- SelectableTextTheme.new({double? cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, bool? enableInteractiveSelection})
-
Theme data for SelectableText to customize cursor and selection behavior.
const
Properties
- cursorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double?
-
final
- enableInteractiveSelection → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionHeightStyle → BoxHeightStyle?
-
final
- selectionWidthStyle → BoxWidthStyle?
-
final
Methods
-
copyWith(
{ValueGetter< double?> ? cursorWidth, ValueGetter<double?> ? cursorHeight, ValueGetter<Radius?> ? cursorRadius, ValueGetter<Color?> ? cursorColor, ValueGetter<BoxHeightStyle?> ? selectionHeightStyle, ValueGetter<BoxWidthStyle?> ? selectionWidthStyle, ValueGetter<bool?> ? enableInteractiveSelection}) → SelectableTextTheme -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override