FancyContainer constructor

const FancyContainer({
  1. Key? key,
  2. double? height = 120,
  3. double? width,
  4. Color? color1,
  5. Color? color2,
  6. String? title = 'Title',
  7. Color? textcolor,
  8. String? subtitle = 'Subtitle',
  9. Color? subtitlecolor,
  10. EdgeInsetsGeometry? padding,
})

Implementation

const FancyContainer(
    {Key? key,
    this.height = 120,
    this.width,
    this.color1,
    this.color2,
    this.title = 'Title',
    this.textcolor,
    this.subtitle = 'Subtitle',
    this.subtitlecolor,
    this.padding})
    : super(key: key);