MephistoTextIconBadge constructor

const MephistoTextIconBadge({
  1. Key? key,
  2. String? text,
  3. Widget? icon,
  4. Color? bgColor,
  5. bool? shrink = true,
  6. Function? onTap,
  7. Widget? suffixIcon,
  8. String? direction = "ltr",
  9. double? padding = 0,
  10. double? height = 18,
})

Implementation

const MephistoTextIconBadge(
    {super.key,
    this.text,
    this.icon,
    this.bgColor,
    this.shrink = true,
    this.onTap,
    this.suffixIcon,
    this.direction = "ltr",
    this.padding = 0,
    this.height = 18});