createSelectWidget method
Widget
createSelectWidget(
- BuildContext context,
- AppModel app,
- int privilegeLevel,
- double height,
- SelectComponent selected,
- dynamic editor,
override
Implementation
@override
Widget createSelectWidget(BuildContext context, AppModel app,
int privilegeLevel, double height, SelectComponent selected, editor) {
var appId = app.documentID;
return BlocProvider<PayConfirmationListBloc>(
create: (context) => PayConfirmationListBloc(
eliudQuery: getComponentSelectorQuery(0, app.documentID),
payConfirmationRepository: payConfirmationRepository(appId: appId)!,
)..add(LoadPayConfirmationList()),
child: _SelectPayConfirmationWidget(
app: app,
height: height,
containerPrivilege: privilegeLevel,
selected: selected,
editorConstructor: editor),
);
}