ConfigureServiceTemplate constructor

const ConfigureServiceTemplate({
  1. Key? key,
  2. required ServiceTemplateSpec spec,
  3. required List<Widget> actionsBuilder(
    1. BuildContext,
    2. Map<String, String>,
    3. bool validate()
    ),
  4. Map<String, String>? prefilledVars,
  5. List<String> routeDomains = const [],
  6. List<Widget> customActions = const [],
  7. List<Widget> header = const [],
  8. bool showActionRow = true,
  9. double desktopHorizontalPadding = 12,
  10. double desktopSectionSpacing = 10,
  11. double? desktopHeaderBottomSpacing,
  12. void onFormStateChanged(
    1. Map<String, String> vars,
    2. bool validate()
    )?,
  13. String? meshagentMailDomain,
})

Implementation

const ConfigureServiceTemplate({
  super.key,
  required this.spec,
  required this.actionsBuilder,
  this.prefilledVars,
  this.routeDomains = const [],
  this.customActions = const [],
  this.header = const [],
  this.showActionRow = true,
  this.desktopHorizontalPadding = 12,
  this.desktopSectionSpacing = 10,
  this.desktopHeaderBottomSpacing,
  this.onFormStateChanged,
  this.meshagentMailDomain,
});