HomeButton constructor

const HomeButton({
  1. Key? key,
  2. required String text,
  3. required String icon,
  4. String? subIcon,
  5. Color? color,
  6. void callback()?,
})

Implementation

const HomeButton({
  super.key,
  required this.text,
  required this.icon,
  this.subIcon,
  this.color,
  this.callback,
});