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(title),
      subtitle: Text(subtitle ?? '${point.x}, ${point.y}'),
      onTap: () => context.pushWidgetBuilder(
        (final builderContext) => EditPointScreen(
          point: point,
          onChanged: onChanged,
          defaultModifier: defaultModifier,
          editorTitle: title,
          minValue: minValue,
          maxValue: maxValue,
          title: editorTitle,
          initialEditPoint: initialEditPoint,
        ),
      ),
    );