createNew method
Widget
createNew({
- Key? key,
- required AppModel app,
- required String id,
- int? privilegeLevel,
- Map<
String, dynamic> ? parameters, - String? value,
- DropdownButtonChanged? trigger,
- bool? optional,
override
Implementation
@override
Widget createNew(
{Key? key,
required AppModel app,
required String id,
int? privilegeLevel,
Map<String, dynamic>? parameters,
String? value,
DropdownButtonChanged? trigger,
bool? optional}) {
if (id == "monaStyleAttributess") {
return DropdownButtonComponent(
app: app,
componentId: id,
value: value,
privilegeLevel: privilegeLevel,
trigger: trigger,
optional: optional);
}
return Text("Id $id not found");
}