withTopAndBottomFade method

Widget withTopAndBottomFade({
  1. required BuildContext context,
  2. Color? fadeColor,
  3. double startFade = 0.97,
})

Implementation

Widget withTopAndBottomFade({
  required BuildContext context,
  Color? fadeColor,
  double startFade = 0.97,
}) {
  return FadeContainer.topAndBottom(
    context: context,
    child: this,
    fadeColor: fadeColor,
    startFade: startFade,
  );
}