magnifierConfiguration property

TextMagnifierConfiguration? magnifierConfiguration
final

Configuration for the text field magnifier.

By default (when this property is set to null), a CupertinoTextMagnifier is used on mobile platforms, and nothing on desktop platforms. To suppress the magnifier on all platforms, consider passing TextMagnifierConfiguration.disabled explicitly.

This magnifying glass is useful for scenarios on mobile devices where the user's finger may be covering part of the screen where a granular action is being performed, such as navigating a small cursor with a drag gesture, on an image or text.

This sample demonstrates how to customize the magnifier that this text field uses.
link

To create a local project with this code sample, run:
flutter create --sample=cupertino.CupertinoTextField.magnifierConfiguration.1 mysample

Implementation

final TextMagnifierConfiguration? magnifierConfiguration;