textStyle property

TextStyle? textStyle
final

The style to be applied to the anchor's child.

The default child style is TextTheme.bodyText1 from the overall theme's ThemeData.textTheme. This only has an effect on widgets that respect the DefaultTextStyle, such as Text.

Implementation

//
/// This only has an effect on widgets that respect the [DefaultTextStyle],
/// such as [Text].
/// {@endtemplate}
final TextStyle? textStyle;