AActionSave constructor

AActionSave(
  1. BuildContext context, {
  2. Key? key,
  3. required Function onAction,
  4. bool? loading,
  5. bool? disabled,
  6. bool alwaysShow = false,
})

Implementation

AActionSave(BuildContext context, {
  super.key,
  required super.onAction,
  super.loading,
  super.disabled,
  super.alwaysShow,
}) : super(
  text: "Salvar",
  style: AActionStyle(
    backgroundColor: Theme.of(context).primaryColor,
    textColor: Colors.white,
  ),
);