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