ConfigureServiceTemplate constructor
const
ConfigureServiceTemplate({
- Key? key,
- required ServiceTemplateSpec spec,
- required List<
Widget> actionsBuilder(- BuildContext,
- Map<
String, String> , - bool validate()
- Map<
String, String> ? prefilledVars, - List<
String> routeDomains = const [], - List<
Widget> customActions = const [], - List<
Widget> header = const [], - bool showActionRow = true,
- double desktopHorizontalPadding = 12,
- double desktopSectionSpacing = 10,
- double? desktopHeaderBottomSpacing,
- void onFormStateChanged()?,
- 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,
});