set showing as dialog with search

This commit is contained in:
Salvatore Giordano
2018-03-31 20:08:42 +02:00
parent d4e11edc4e
commit 2101639d78
7 changed files with 132 additions and 101 deletions

17
lib/celement.dart Normal file
View File

@@ -0,0 +1,17 @@
class CElement {
String name;
String flag;
String code;
String dial_code;
CElement({this.name, this.flag, this.code, this.dial_code});
@override
String toString() {
return "$flag $dial_code";
}
String toLongString() {
return "$flag $dial_code $name";
}
}