duration property
How long until Snack will hide itself (be dismissed). To make it indefinite, leave it null.
Implementation
final Duration? duration;
How long until Snack will hide itself (be dismissed). To make it indefinite, leave it null.
final Duration? duration;