onCommit property

Future<bool> Function(Money newLimit) onCommit
final

Persists the newly selected limit. Resolve true to accept (a success check is flashed) or false to reject (the slider reverts to the configured limit).

Implementation

final Future<bool> Function(Money newLimit) onCommit;