AwsProcessButton constructor

const AwsProcessButton({
  1. Key? key,
  2. Size? size,
  3. EdgeInsetsGeometry? padding,
  4. required AwsDefinitionProcessButton init,
  5. required AwsDefinitionProcessButton accion,
  6. required AwsDefinitionProcessButton ok,
  7. required AwsDefinitionProcessButton error,
  8. required Future<(bool, String)> process(),
  9. required void result(
    1. bool value,
    2. String? message
    ),
  10. bool resetStateAfterError = true,
  11. int resetStateAfterErrorDuration = 1500,
  12. bool cupertinoThemeMode = false,
})

Implementation

const AwsProcessButton({
  super.key,
  this.size,
  this.padding,
  required this.init,
  required this.accion,
  required this.ok,
  required this.error,
  required this.process,
  required this.result,
  this.resetStateAfterError = true,
  this.resetStateAfterErrorDuration = 1500,
  this.cupertinoThemeMode = false,
});