delay property

bool delay
final

You should pass delay=true only when the widget is inside a scrollable. This makes the button color change wait a few milliseconds (for when the user actually wants to start a scroll and not press the button).

Implementation

final bool delay;