TextMagnifierConfiguration constructor

const TextMagnifierConfiguration({
  1. MagnifierBuilder? magnifierBuilder,
  2. bool shouldDisplayHandlesInMagnifier = true,
})

Constructs a TextMagnifierConfiguration from parts.

If magnifierBuilder is null, a default MagnifierBuilder will be used that does not build a magnifier.

Implementation

const TextMagnifierConfiguration({
  MagnifierBuilder? magnifierBuilder,
  this.shouldDisplayHandlesInMagnifier = true,
}) : _magnifierBuilder = magnifierBuilder;