CustomContainer constructor

CustomContainer({
  1. Key? key,
  2. required int position,
  3. double? height,
  4. double? width,
  5. required Widget child,
  6. Color? activeColor,
  7. Color? inActiveColor,
  8. EdgeInsets? margin,
  9. EdgeInsets? padding,
  10. BorderRadius? borderRadius,
  11. List<BoxShadow>? boxShadow,
  12. DecorationImage? backImage,
  13. LinearGradient? gradient,
  14. Border? border,
})

Implementation

CustomContainer(
    {Key? key,
    required this.position,
    this.height,
    this.width,
    required this.child,
    this.activeColor,
    this.inActiveColor,
    this.margin,
    this.padding,
    this.borderRadius,
    this.boxShadow,
    this.backImage,
    this.gradient,
    this.border})
    : super(key: key);