HMIconButton constructor
HMIconButton({})
IconButton following HarmonyOS Design
Replace IconButton of Material Design. HMIconButton is usually used in actions on HMAbility
Implementation
HMIconButton({
Key? key,
required this.onPressed,
required this.icon,
this.width,
this.height,
this.textColor = const Color.fromARGB(255, 10, 89, 247),
this.borderRadius = 15,
this.center = false,
}) : super(key: key);