successWidget property

Widget? successWidget

The widget used to replace the child when the button is in a success state. If this is null the default widget is:

Icon( Icons.check, color: Theme.of(context).accentColor, );

Implementation

Widget? get successWidget;