TextMagnifierConfiguration class
A configuration object for a magnifier (e.g. in a text field).
In general, most features of the magnifier can be configured by controlling the widgets built by the magnifierBuilder.
Constructors
- TextMagnifierConfiguration({MagnifierBuilder? magnifierBuilder, bool shouldDisplayHandlesInMagnifier = true})
-
Constructs a TextMagnifierConfiguration from parts.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- magnifierBuilder → MagnifierBuilder
-
The builder callback that creates the widget that renders the magnifier.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldDisplayHandlesInMagnifier → bool
-
Whether a magnifier should show the text editing handles or not.
final
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
Constants
- disabled → const TextMagnifierConfiguration
- A constant for a TextMagnifierConfiguration that is disabled, meaning it never builds anything, regardless of platform.