TextGetter<T> constructor

const TextGetter<T>(
  1. GetT<T> get, {
  2. Key? key,
  3. String describe(
    1. T value
    ),
  4. TextStyle style,
  5. TextAlign? align,
  6. int? maxLines,
  7. TextOverflow? overflow,
  8. bool softWrap,
  9. StrutStyle? strutStyle,
  10. TextHeightBehavior? textHeightBehavior,
  11. TextScaler? textScaler,
  12. TextWidthBasis? textWidthBasis,
})

Creates a widget displaying a string representation of a Get object's value.

Implementation

const factory TextGetter(
  GetT<T> get, {
  Key? key,
  String Function(T value) describe,
  TextStyle style,
  TextAlign? align,
  int? maxLines,
  TextOverflow? overflow,
  bool softWrap,
  StrutStyle? strutStyle,
  TextHeightBehavior? textHeightBehavior,
  TextScaler? textScaler,
  TextWidthBasis? textWidthBasis,
}) = _TextGetter<T>;