Resloves #133 Light support

This commit is contained in:
Yegor Vialov
2018-10-18 23:47:55 +03:00
parent c71ee568b0
commit ba09c36bd2
4 changed files with 47 additions and 34 deletions

View File

@ -711,13 +711,14 @@ class ModeSelectorWidget extends StatelessWidget {
child: ButtonTheme(
alignedDropdown: true,
child: DropdownButton<String>(
value: "$value",
value: value,
iconSize: 30.0,
isExpanded: true,
style: TextStyle(
fontSize: valueFontSize ?? Entity.largeFontSize,
color: Colors.black,
),
hint: Text("Select ${caption.toLowerCase()}"),
items: options.map((String value) {
return new DropdownMenuItem<String>(
value: value,