LanguagePickerDialog constructor
LanguagePickerDialog({
- Key? key,
- ValueChanged<
Language> ? onValuePicked, - Widget? title,
- EdgeInsetsGeometry? titlePadding,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
- String? semanticLabel,
- ItemBuilder? itemBuilder,
- bool isDividerEnabled = false,
- Widget divider = const Divider(height: 0.0),
- bool isSearchable = false,
- InputDecoration? searchInputDecoration,
- Color? searchCursorColor,
- Widget? searchEmptyView,
- List<
Language> ? languages,
Implementation
LanguagePickerDialog({
Key? key,
this.onValuePicked,
this.title,
this.titlePadding,
this.contentPadding = const EdgeInsets.fromLTRB(0.0, 12.0, 0.0, 16.0),
this.semanticLabel,
this.itemBuilder,
this.isDividerEnabled = false,
this.divider = const Divider(
height: 0.0,
),
this.isSearchable = false,
this.searchInputDecoration,
this.searchCursorColor,
this.searchEmptyView,
this.languages,
}) : super(key: key);