BentoBox constructor

const BentoBox({
  1. Key? key,
  2. required double height,
  3. required double width,
  4. required String title,
  5. required String subtitle,
  6. Color? boxColor,
  7. Color? titleColor,
  8. Color? subtitleColor,
})

Creates a BentoBox widget.

Requires height, width, title, and subtitle. Optional parameters include boxColor, titleColor, and subtitleColor.

Implementation

const BentoBox({
  super.key,
  required this.height,
  required this.width,
  required this.title,
  required this.subtitle,
  this.boxColor,
  this.titleColor,
  this.subtitleColor,
});