StyledText constructor

const StyledText(
  1. String text, {
  2. String? semanticsLabel,
  3. Style? style,
  4. Key? key,
  5. bool inherit = true,
  6. Locale? locale,
  7. List<Type> orderOfModifiers = const [],
})

Implementation

const StyledText(
  this.text, {
  this.semanticsLabel,
  super.style,
  super.key,
  super.inherit = true,
  this.locale,
  super.orderOfModifiers = const [],
});