Icon colors change when collapsing navigation sidebar menu
This commit is contained in:
parent
3f585c4021
commit
9f6c55c222
|
|
@ -689,6 +689,8 @@ class _DrawerTileState extends State<DrawerTile> {
|
||||||
message: prefState.enableTooltips ? widget.title : '',
|
message: prefState.enableTooltips ? widget.title : '',
|
||||||
child: ColoredBox(
|
child: ColoredBox(
|
||||||
color: color,
|
color: color,
|
||||||
|
child: Opacity(
|
||||||
|
opacity: isSelected ? 1 : .8,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
onLongPress: onLongPress,
|
onLongPress: onLongPress,
|
||||||
|
|
@ -700,6 +702,7 @@ class _DrawerTileState extends State<DrawerTile> {
|
||||||
),
|
),
|
||||||
)),
|
)),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue