FancyContainer constructor

const FancyContainer({
  1. Key? key,
  2. double height = 120.0,
  3. double? width,
  4. Color? color1,
  5. Color? color2,
  6. required String title,
  7. Color? textColor,
  8. String? subtitle,
  9. Color? subtitleColor,
  10. FancyContainersCallback? onTap,
  11. EdgeInsetsGeometry? padding,
  12. TextStyle? titleStyle,
  13. TextStyle? subtitleStyle,
})

Implementation

const FancyContainer({
  Key? key,
  this.height = 120.0,
  this.width,
  this.color1,
  this.color2,
  required this.title,
  this.textColor,
  this.subtitle,
  this.subtitleColor,
  this.onTap,
  this.padding,
  this.titleStyle,
  this.subtitleStyle,
}) : super(key: key);