TextGetter<T> constructor
const
TextGetter<T> (
- GetT<
T> get, { - Key? key,
- String describe(
- T value
- TextStyle style,
- TextAlign? align,
- int? maxLines,
- TextOverflow? overflow,
- bool softWrap,
- StrutStyle? strutStyle,
- TextHeightBehavior? textHeightBehavior,
- TextScaler? textScaler,
- 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>;