DefaultTextHeightBehaviorModifier constructor

const DefaultTextHeightBehaviorModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required TextHeightBehavior textHeightBehavior,
})

Creates a default text height behavior for the given subtree.

The textHeightBehavior and child arguments are required and must not be null.

Implementation

const DefaultTextHeightBehaviorModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.textHeightBehavior,
});