FadeBeforeAfter constructor

FadeBeforeAfter({
  1. required Widget before,
  2. required Widget after,
  3. double preBordRadius = 0.0,
  4. double? diffActionLeft,
  5. double? diffActionTop,
  6. double? diffActionRight,
  7. double? diffActionBottom,
  8. Color diffBg = Colors.black,
  9. EdgeInsets contentMargin = EdgeInsets.zero,
  10. 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});