AppBarFadeEffect.onExpand constructor
AppBarFadeEffect.onExpand({
- Key? key,
- double start = 0,
- double end = 1,
- required AppBarPosition position,
- required Widget child,
The fade-out effect is applied when on expand the appbar.
Implementation
AppBarFadeEffect.onExpand({
super.key,
this.start = 0,
this.end = 1,
required AppBarPosition position,
required this.child,
}) : value = position.shrinkedPercent;