IconsTextEditor class
Customizable icons for the Text Editor component.
Constructors
- IconsTextEditor({IconData alignLeft = Icons.align_horizontal_left_rounded, IconData alignCenter = Icons.align_horizontal_center_rounded, IconData alignRight = Icons.align_horizontal_right_rounded, IconData fontScale = Icons.format_size_rounded, IconData resetFontScale = Icons.refresh_rounded, IconData backgroundMode = Icons.layers_rounded})
-
Creates an instance of IconsTextEditor with customizable icon settings.
const
Properties
- alignCenter → IconData
-
The icon for aligning text to the center.
final
- alignLeft → IconData
-
The icon for aligning text to the left.
final
- alignRight → IconData
-
The icon for aligning text to the right.
final
- backgroundMode → IconData
-
The icon for toggling background mode.
final
-
The icon to be displayed in the bottom navigation bar.
final
- fontScale → IconData
-
The icon for changing font scale.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resetFontScale → IconData
-
The icon for resetting font scale to preset value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{IconData? alignLeft, IconData? alignCenter, IconData? alignRight, IconData? backgroundMode, IconData? fontScale, IconData? resetFontScale}) → IconsTextEditor -
Creates a copy of this
IconsTextEditor
object with the given fields replaced with new values. -
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