MacosTextFieldThemeData class

Constructors

MacosTextFieldThemeData({BoxDecoration? decoration, BoxDecoration? focusedDecoration, EdgeInsets? padding, TextStyle? placeholderStyle, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextAlignVertical? textAlignVertical, String? obscuringCharacter, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, double? cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Color? selectionColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, EdgeInsets? scrollPadding})
const
MacosTextFieldThemeData.raw({required BoxDecoration? decoration, required BoxDecoration? focusedDecoration, required EdgeInsets? padding, required TextStyle? placeholderStyle, required TextStyle? style, required StrutStyle? strutStyle, required TextAlign? textAlign, required TextAlignVertical? textAlignVertical, required String? obscuringCharacter, required SmartDashesType? smartDashesType, required SmartQuotesType? smartQuotesType, required double? cursorWidth, required double? cursorHeight, required Radius? cursorRadius, required EdgeInsets? scrollPadding, required Color? cursorColor, required Color? selectionColor, required BoxHeightStyle? selectionHeightStyle, required BoxWidthStyle? selectionWidthStyle})
const

Properties

cursorColor Color?
The color to use when painting the cursor.
final
cursorHeight double?
How tall the cursor will be.
final
cursorRadius Radius?
How rounded the corners of the cursor should be.
final
cursorWidth double?
How thick the cursor will be.
final
decoration BoxDecoration?
Controls the BoxDecoration of the box behind the text input.
final
focusedDecoration BoxDecoration?
Controls the BoxDecoration of the box behind the text input when focused. This decoration is drawn above decoration.
final
hashCode int
The hash code for this object.
no setterinherited
obscuringCharacter String?
Character used for obscuring text if obscureText is true.
final
padding EdgeInsets?
Padding around the text entry area between the prefix and suffix or the clear button when clearButtonMode is not never.
final
placeholderStyle TextStyle?
The style to use for the placeholder text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPadding EdgeInsets?
final
selectionColor Color?
final
selectionHeightStyle BoxHeightStyle?
Controls how tall the selection highlight boxes are computed to be.
final
selectionWidthStyle BoxWidthStyle?
Controls how wide the selection highlight boxes are computed to be.
final
smartDashesType SmartDashesType?
Whether to allow the platform to automatically format dashes.
final
smartQuotesType SmartQuotesType?
Whether to allow the platform to automatically format quotes.
final
strutStyle StrutStyle?
The strut style used for the vertical layout.
final
style TextStyle?
The style to use for the text being edited.
final
textAlign TextAlign?
How the text should be aligned horizontally.
final
textAlignVertical TextAlignVertical?
How the text should be aligned vertically.
final

Methods

copyWith({BoxDecoration? decoration, BoxDecoration? focusedDecoration, EdgeInsets? padding, TextStyle? placeholderStyle, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, ToolbarOptions? toolbarOptions, TextAlignVertical? textAlignVertical, String? obscuringCharacter, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, double? cursorWidth, double? cursorHeight, Radius? cursorRadius, EdgeInsets? scrollPadding, Color? cursorColor, Color? selectionColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle}) MacosTextFieldThemeData
merge(MacosTextFieldThemeData? other) MacosTextFieldThemeData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveWidget(MacosTextField widget) MacosTextFieldThemeData
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

lerp(MacosTextFieldThemeData? a, MacosTextFieldThemeData? b, double t) MacosTextFieldThemeData
Linearly interpolate between two icon theme data objects.