mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 03:27:39 +08:00
fix
This commit is contained in:
@@ -20,12 +20,7 @@ class _NavDrawerState extends State<NavDrawer> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Row(
|
return NavigationRail(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
|
||||||
Flexible(
|
|
||||||
child: NavigationRail(
|
|
||||||
selectedIndex: _counter,
|
selectedIndex: _counter,
|
||||||
onDestinationSelected: (value) {
|
onDestinationSelected: (value) {
|
||||||
setState(() {
|
setState(() {
|
||||||
@@ -67,9 +62,6 @@ class _NavDrawerState extends State<NavDrawer> {
|
|||||||
label: Text('设置'),
|
label: Text('设置'),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
//groupAlignment: -1,
|
);
|
||||||
minWidth: 56,
|
|
||||||
))
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user