toButton property

(FutureOr<ButtonBuilder> Function(T)?) toButton
final

A function called to provide ButtonBuilders that can be used to represent an element converted by this converter.

You might also be interested in:

Implementation

final FutureOr<ButtonBuilder> Function(T)? toButton;