navigationRailData top-level constant
Map<String, dynamic>
const
navigationRailData
Implementation
const Map<String, dynamic> navigationRailData = {
'color': '\$purple300',
'bg': '\$background0',
"_selectedIcon": {
"color": "\$text900",
},
"_unselectedIcon": {
"color": "\$text900",
},
"_selectedLabelText": {
"color": "\$purple300",
},
"_unselectedLabelText": {
"color": "\$text900",
},
"variants": {
"size": {
"sm": {
"_selectedLabelText": {
"fontSize": "\$sm",
"fontFamily": "\$body",
"fontWeight": "\$normal",
"lineHeight": "\$sm"
},
"_unselectedLabelText": {
"fontSize": "\$sm",
"fontFamily": "\$body",
"fontWeight": "\$normal",
"lineHeight": "\$sm"
}
},
"md": {
"_selectedLabelText": {
"fontSize": "\$md",
"fontFamily": "\$body",
"fontWeight": "\$normal",
"lineHeight": "\$md"
},
"_unselectedLabelText": {
"fontSize": "\$md",
"fontFamily": "\$body",
"fontWeight": "\$normal",
"lineHeight": "\$md"
}
},
"lg": {
"_selectedLabelText": {
"fontSize": "\$lg",
"fontFamily": "\$body",
"fontWeight": "\$normal",
"lineHeight": "\$lg"
},
"_unselectedLabelText": {
"fontSize": "\$lg",
"fontFamily": "\$body",
"fontWeight": "\$normal",
"lineHeight": "\$lg"
}
}
},
},
"defaultProps": {
"theme": "light",
"size": "sm",
}
};