getColorButton static method
Implementation
static Color getColorButton({required String? color, bool? isNull}) {
if (color != null && color.length > 0) {
return HexColor(color);
}
final appConfig = prefsHelper.getApplicationConfig();
return HexColor(appConfig?.primaryColor);
}