FadeBeforeAfter constructor
FadeBeforeAfter({
- required Widget before,
- required Widget after,
- double preBordRadius = 0.0,
- double? diffActionLeft,
- double? diffActionTop,
- double? diffActionRight,
- double? diffActionBottom,
- Color diffBg = Colors.black,
- EdgeInsets contentMargin = EdgeInsets.zero,
- EdgeInsets actionMargin = EdgeInsets.zero,
Implementation
FadeBeforeAfter(
{required this.before,
required this.after,
this.preBordRadius = 0.0,
this.diffActionLeft,
this.diffActionTop,
this.diffActionRight,
this.diffActionBottom,
this.diffBg = Colors.black,
this.contentMargin = EdgeInsets.zero,
this.actionMargin = EdgeInsets.zero});