SelectSubjects constructor
const
SelectSubjects({
- Key? key,
- required Meshagent client,
- required String projectId,
- required void onChanged(
- List<
AccessSubject>
- List<
- Set<
SelectSubjectType> allowedTypes = const {SelectSubjectType.user, SelectSubjectType.group}, - SelectSubjectsController? controller,
- TextEditingController? textController,
- bool autofocus = false,
- FocusNode? focusNode,
- List<
AccessSubject> initialValue = const [], - bool allowNewUserEmail = false,
- int? maxSelected,
- Widget? placeholder,
Implementation
const SelectSubjects({
super.key,
required this.client,
required this.projectId,
required this.onChanged,
this.allowedTypes = const {SelectSubjectType.user, SelectSubjectType.group},
this.controller,
this.textController,
this.autofocus = false,
this.focusNode,
this.initialValue = const [],
this.allowNewUserEmail = false,
this.maxSelected,
this.placeholder,
});