build method
Build the widget.
Implementation
@override
Widget build(BuildContext context) => ListTile(
autofocus: autofocus,
title: Text(header),
subtitle: Text(value),
onTap: () => context.pushWidgetBuilder(
(context) => GetText(
onDone: (value) {
Navigator.pop(context);
onChanged(value);
},
labelText: labelText ?? title ?? header,
text: value,
actions: actions,
title: title ?? header,
validator: validator,
),
),
onLongPress: onLongPress,
);