TextMagnifier constructor

const TextMagnifier({
  1. Key? key,
  2. required ValueNotifier<MagnifierInfo> magnifierInfo,
})

Creates a TextMagnifier.

The magnifierInfo must be provided, and must be updated with new values as the user's touch changes.

Implementation

const TextMagnifier({
  super.key,
  required this.magnifierInfo,
});