FitGridEditorBuilder<T> typedef

FitGridEditorBuilder<T> = Widget Function(BuildContext context, FitGridEditorSession<T> session)

Builds a bespoke editor for a cell, in place of the default text field.

Use it for a dropdown, a date picker, a stepper — anything whose editing affordance is not a line of text. commit ends the edit with a value, cancel abandons it; call one of them or the editor stays open.

Implementation

typedef FitGridEditorBuilder<T> =
    Widget Function(BuildContext context, FitGridEditorSession<T> session);