build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Build the widget.

Implementation

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