StyledTextWidgetTag constructor Null safety

StyledTextWidgetTag(
  1. Widget child,
  2. {Size? size,
  3. BoxConstraints? constraints,
  4. PlaceholderAlignment alignment = PlaceholderAlignment.middle,
  5. TextBaseline baseline = TextBaseline.alphabetic}
)

Implementation

StyledTextWidgetTag(
  Widget child, {
  Size? size,
  BoxConstraints? constraints,
  PlaceholderAlignment alignment = PlaceholderAlignment.middle,
  TextBaseline baseline = TextBaseline.alphabetic,
}) : super(
        (context, attributes) => child,
        size: size,
        constraints: constraints,
        alignment: alignment,
        baseline: baseline,
      );