ActiveGridForm constructor

const ActiveGridForm({
  1. Key? key,
  2. required String formId,
  3. TextStyle? titleStyle,
  4. EdgeInsets? contentPadding,
  5. EdgeInsets? titlePadding,
  6. bool hideTitle = false,
  7. void onFormLoaded(
    1. FormData
    )?,
  8. Future<bool> onActionSuccess(
    1. FormAction
    )?,
  9. Future<bool> onError(
    1. dynamic
    )?,
})

Creates a ActiveGridForm.

The formId determines what Form is displayed. It works with empty and pre-filled forms.

Implementation

const ActiveGridForm({
  Key? key,
  required this.formId,
  this.titleStyle,
  this.contentPadding,
  this.titlePadding,
  this.hideTitle = false,
  this.onFormLoaded,
  this.onActionSuccess,
  this.onError,
}) : super(key: key);