navigationRailTheme top-level property

dynamic navigationRailTheme
getter/setter pair

Implementation

var navigationRailTheme = NavigationRailThemeData(
  backgroundColor: surfaceColor,
  indicatorColor: brandColor,
  unselectedLabelTextStyle: const TextStyle(
    color: Colors.white,
    fontSize: 12,
    fontWeight: FontWeight.w400,
  ),
  selectedLabelTextStyle: const TextStyle(
    color: Colors.white,
    fontSize: 12,
    fontWeight: FontWeight.w400,
  ),
  selectedIconTheme: const IconThemeData(color: Colors.white, size: 18),
  unselectedIconTheme: const IconThemeData(color: Colors.white, size: 18),
);