The duration of the toast. Default to 4 seconds. If this is Duration.zero, it will never be dismissed and needs to be dismissed manually.
Duration.zero
See this for more info
final Duration? duration;