如何制作像速卖通这样的分类屏幕?
how to make category screen like aliexpress?
如何在 flutter 中制作这样的东西?
我试着在 flutter 中做出这样的东西。
但是小部件行对我不起作用。
为此,您可以使用 Tabbar
或 NavigationRail
。使用 Tabbar,将其包裹在 RotatedBox 中将使其处于垂直模式。
根据您的图片,您可以使用 TabBar class 或 NavigationRail 或 BottomNavigationBar 小部件
NavigationRail :此小部件位于应用程序的左侧或右侧,用于在少量视图(通常为三到五个)之间导航。 NavigationRail
TabBar:一个显示水平行选项卡的小部件。 TabBar or Working
BottomNavigationBar:显示在应用程序底部的小部件 BottomNavigationBar
如何在 flutter 中制作这样的东西?
我试着在 flutter 中做出这样的东西。
但是小部件行对我不起作用。
为此,您可以使用 Tabbar
或 NavigationRail
。使用 Tabbar,将其包裹在 RotatedBox 中将使其处于垂直模式。
根据您的图片,您可以使用 TabBar class 或 NavigationRail 或 BottomNavigationBar 小部件
NavigationRail :此小部件位于应用程序的左侧或右侧,用于在少量视图(通常为三到五个)之间导航。 NavigationRail
TabBar:一个显示水平行选项卡的小部件。 TabBar or Working
BottomNavigationBar:显示在应用程序底部的小部件 BottomNavigationBar