Added a more appriopriate name for the events mapping function
This commit is contained in:
parent
b2a8ac6a9e
commit
a9de09efd6
1 changed files with 3 additions and 3 deletions
|
|
@ -113,11 +113,11 @@ class _NewImageScreenState extends State<NewImageScreen> {
|
|||
value: dropdownValue,
|
||||
onChanged: (String value) => onDropdownChanged(bloc, value),
|
||||
hint: Text('Event'),
|
||||
items: events.map((String name) {
|
||||
items: events.map((String event) {
|
||||
return CustomDropdownMenuItem(
|
||||
value: name,
|
||||
value: event,
|
||||
child: Text(
|
||||
name,
|
||||
event,
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue