NxButton.accent constructor
NxButton.accent({})
Implementation
factory NxButton.accent({
VoidCallback? onPressed,
double? width,
double? padding,
double? fontSize,
IconData? leftIcon,
IconData? rightIcon,
double? radius,
bool isLoading = false,
Widget? child,
}) => NxButton(
onPressed: onPressed,
width: width,
padding: padding,
fontSize: fontSize,
leftIcon: leftIcon,
rightIcon: rightIcon,
defaultButtonColor: NxColor.accent,
iconColor: Colors.white,
radius: radius,
isLoading: isLoading,
child: child,
);