DefaultTextHeightBehavior constructor Null safety
- {Key? key,
- required TextHeightBehavior textHeightBehavior,
- required Widget child}
Creates a default text height behavior for the given subtree.
The textHeightBehavior and child arguments are required and must not be null.
Implementation
const DefaultTextHeightBehavior({
super.key,
required this.textHeightBehavior,
required super.child,
}) : assert(textHeightBehavior != null),
assert(child != null);