Skip to content

Commit

Permalink
fix dropdown selected highlight color on web (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
shakeebkhan66 authored Jun 6, 2024
1 parent 1714c8e commit 187a481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/screens/mobile/mobile_home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ class _MobileHomeScaffoldState extends State<MobileHomeScaffold> with TickerProv
SizedBox(
width: 100,
child: DropdownButton<String>(
focusColor: Colors.transparent,
value: _tabData[index].selectedValue.isEmpty ? null : _tabData[index].selectedValue,
hint: Text(
"Actions",
Expand Down Expand Up @@ -435,6 +436,7 @@ class _MobileHomeScaffoldState extends State<MobileHomeScaffold> with TickerProv
),
child: DropdownButton<String>(
value: _tabData[index].selectedSerializer.isEmpty ? null : _tabData[index].selectedSerializer,
focusColor: Colors.transparent,
hint: const Text("Serializers"),
items: [jsonSerializer, cborSerializer, msgPackSerializer].map((String value) {
return DropdownMenuItem<String>(
Expand Down

0 comments on commit 187a481

Please sign in to comment.