CustomPageWithImageBackground constructor

const CustomPageWithImageBackground({
  1. Key? key,
  2. Color? startBgColor,
  3. Color? endBgColor,
  4. required Widget child,
  5. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: SizeConfig.sidePadding),
  6. String backgroundImageResPath = "assets/background.png",
})

Implementation

const CustomPageWithImageBackground({
  super.key,
  this.startBgColor,
  this.endBgColor,
  required this.child,
  this.padding =
      const EdgeInsets.symmetric(horizontal: SizeConfig.sidePadding),
  this.backgroundImageResPath = "assets/background.png",
});