add custom list prop

This commit is contained in:
Salvatore Giordano
2020-03-22 12:52:13 +01:00
parent 1520f1a6eb
commit 8d6430882f
2 changed files with 12 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ class _MyAppState extends State<MyApp> {
initialSelection: 'IT',
favorite: ['+39', 'FR'],
showFlag: false,
customList: ['IT', 'FR'],
showFlagDialog: true,
comparator: (a, b) => b.name.compareTo(a.name),
//Get the country information relevant to the initial selection