Answers for "flutter horizontal line"

5

flutter horizontal line

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

flutter horizontal line

Divider(
	color: Colors.black
)
Posted by: Guest on June-12-2021
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

Code answers related to "Dart"

Browse Popular Code Answers by Language