save static method
Widget
save({
- required VoidCallback? onPressed,
- bool isLoading = false,
- bool isOutlined = true,
- double? width,
Implementation
static Widget save({
required VoidCallback? onPressed,
bool isLoading = false,
bool isOutlined = true,
double? width,
}) {
return CustomActionButton(
text: 'Save',
onPressed: onPressed,
isLoading: isLoading,
underlinedChar: 'S',
isOutlined: isOutlined,
icon: Icons.save,
width: width,
);
}