PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, November 16, 2022

[FIXED] how to make category screen in vertical and display menu item beside?

 November 16, 2022     categories, flutter, menu, vertical-alignment     No comments   

Issue

i try to find a solution for the flutter drawer menu. i implement the normal NavigationRail and the category looks find. now i want to draw a submenu for many items.

i found this Flutter how to add a Expandable menu item inside NavigationRail drawer? but this is not what i want. this show the subitems under the header item. i want a solution to click on the category and display list of category items. here is a example what i mean.

any example code can for me to refer ?

Example what i mean


Solution

you can use vertical list view builder and for show scree like as you want use container in row and set fix width

for exaple set two containers in row set once width :Mediaquery.of(context).size.width/1.8 this is righ container

left container and othher one container width Mediaquery.of(context).size.width/4

and now set listview as child and set direction horizontal



Answered By - Kishan
Answer Checked By - Cary Denson (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing