Update selection_dialog.dart
This commit is contained in:
1 parent
ef3bb23d3e
commit
f1aa08bdd0
1 file changed
+1
-1
@@ -31,7 +31,7 @@ class SelectionDialog extends StatefulWidget {
|
|||||||
this.flagWidth = 32,
|
this.flagWidth = 32,
|
||||||
this.size,
|
this.size,
|
||||||
this.hideSearch = false,
|
this.hideSearch = false,
|
||||||
this.closeIcon = closeIcon == null ? Icon(Icons.close) : closeIcon,
|
this.closeIcon = closeIcon,
|
||||||
}) : assert(searchDecoration != null, 'searchDecoration must not be null!'),
|
}) : assert(searchDecoration != null, 'searchDecoration must not be null!'),
|
||||||
this.searchDecoration = searchDecoration.prefixIcon == null
|
this.searchDecoration = searchDecoration.prefixIcon == null
|
||||||
? searchDecoration.copyWith(prefixIcon: Icon(Icons.search))
|
? searchDecoration.copyWith(prefixIcon: Icon(Icons.search))
|
||||||
|
|||||||
Reference in new issue
Block a user