BeautifulContainer constructor

const BeautifulContainer({
  1. Key? key,
  2. double height = 120.0,
  3. double? width,
  4. Color? color1,
  5. Color? color2,
  6. String title = "Title",
  7. Color? textColor = Colors.white70,
  8. String subtitle = "Subtitle",
  9. Color? subtitleColor = Colors.white70,
  10. EdgeInsetsGeometry? padding,
})

Implementation

const BeautifulContainer({
  Key? key,
  this.height = 120.0,
  this.width,
  this.color1,
  this.color2,
  this.title = "Title",
  this.textColor = Colors.white70,
  this.subtitle = "Subtitle",
  this.subtitleColor = Colors.white70,
  this.padding,
}) : super(key: key);