entranceExitOpacity property

  1. @override
double entranceExitOpacity
final

The toast's initial opacity when it enters, and the target opacity when it exits.

Defaults to 0. Set to 1.0 to remove the fade-in/out effect.

Contract

Throws AssertionError if the value is not in [0, 1].

Implementation

@override
final double entranceExitOpacity;