Answers for "horizontal divider in flutter"

6

flutter divider

const Divider(
   thickness: 5, // thickness of the line
   indent: 20, // empty space to the leading edge of divider.
   endIndent: 20, // empty space to the trailing edge of the divider.
   color: Colors.black, // The color to use when painting the line.
   height: 20, // The divider's height extent.
 ),
Posted by: Guest on August-20-2021
0

how to create a vertical line in flutter

VerticalDivider(color: Colors.black,
          thickness: 2, width: 20,
          indent: 200,
          endIndent: 200,)
Posted by: Guest on August-30-2020
0

flutter line#

Container(
      color:Colors.white,
      child: (
        Row(
          children: <Widget>[
            Padding(
              padding: const EdgeInsets.all(8.0),
              child: Image(
                  height: 100,
                  width: 100,
                  image: NetworkImage("https://www.gstatic.com/webp/gallery/1.jpg"),
                ),
            ),
            Column(
              children: <Widget>[
                Text("Book Name"),
                Text("Author name"),

                Divider(
                  color: Colors.black,
                )
              ],
            )
          ],
        )
      ),
    ),
Posted by: Guest on September-23-2020
0

flutter reorderable list view dividers

//in children property of ReorderableListView
children: [
        for(final item in menu.dishCategories)
          Column(
            key: ValueKey(item),
            //set mainAxisSize to min to avoid items disappearing on reorder
            mainAxisSize: MainAxisSize.min,
            children: [
              ExpansionTile(
                leading: Icon(Icons.menu),
                title: Text(item, style: regularTextStyle),
                children: [

                ],
              ),
              Divider(height: 0)
            ],
          )
      ],
Posted by: Guest on December-09-2020

Code answers related to "horizontal divider in flutter"

Browse Popular Code Answers by Language