FrameDesign constructor
const
FrameDesign({
- bool? onSuccess()?,
- Future<
void> onFutureSuccess()?, - Future<
bool?> onFutureSuccessValidator()?, - VoidCallback? onCancel,
- String cancelButtonTitle = "Cancel",
- String title = "Title",
- String successButtonTitle = "Save",
- bool showCloseButton = true,
- bool conditionToDisableSuccessButton = false,
- IconData titlePrefixIcon = Icons.info,
- bool showBottomButtonBar = true,
- double? width,
- double? height,
- double? titleBarHeight,
- double? bottomBarHeight,
- String? info,
- Color? successButtonColor,
- Color? cancelButtonColor,
- FocusTraversalPolicy? traversalPolicy,
- bool cycleFocusWithinGroup = false,
- FocusNode? cancelButtonFocusNode,
- FocusNode? saveButtonFocusNode,
- String? cycleFocusTargetRoleBuilder()?,
- List<
String> cycleFocusSkipRoles = const ['SAVE_BUTTON', 'CANCEL_BUTTON'],
Implementation
const FrameDesign({
this.onSuccess,
this.onFutureSuccess,
this.onFutureSuccessValidator,
this.onCancel,
this.cancelButtonTitle = "Cancel",
this.title = "Title",
this.successButtonTitle = "Save",
this.showCloseButton = true,
this.conditionToDisableSuccessButton = false,
this.titlePrefixIcon = Icons.info,
this.showBottomButtonBar = true,
this.width,
this.height,
this.titleBarHeight,
this.bottomBarHeight,
this.info,
this.successButtonColor,
this.cancelButtonColor,
this.traversalPolicy,
this.cycleFocusWithinGroup = false,
this.cancelButtonFocusNode,
this.saveButtonFocusNode,
this.cycleFocusTargetRoleBuilder,
this.cycleFocusSkipRoles = const ['SAVE_BUTTON', 'CANCEL_BUTTON'],
});