HMButton constructor
HMButton({})
Normal button following HarmonyOS Design Language
Usually used in Dialogs(showHMDialog), and HMAbility
Implementation
HMButton({
Key? key,
required this.onPressed,
required this.child,
this.width,
this.height,
this.textColor = const Color.fromARGB(255, 10, 89, 247),
this.borderRadius = 25,
this.center = false,
this.isDanger = false,
}) : super(key: key);