AwsProcessButton constructor
const
AwsProcessButton({
- Key? key,
- Size? size,
- EdgeInsetsGeometry? padding,
- required AwsDefinitionProcessButton init,
- required AwsDefinitionProcessButton accion,
- required AwsDefinitionProcessButton ok,
- required AwsDefinitionProcessButton error,
- required Future<
(bool, String)> process(), - required void result(),
- bool resetStateAfterError = true,
- int resetStateAfterErrorDuration = 1500,
- 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,
});