FancyContainer constructor

const FancyContainer({
  1. Key? key,
  2. double height = 120.0,
  3. double? width,
  4. Color? color1,
  5. Color? color2,
  6. String title = "Title",
  7. Color? textColor,
  8. String subtitle = "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,
  this.title = "Title",
  this.textColor,
  this.subtitle = "Subtitle",
  this.subtitleColor,
  this.onTap,
  this.padding,
  this.titleStyle,
  this.subtitleStyle,
}) : super(key: key);