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.
),
flutter line#
Container(
color:Colors.white,
child: (
Row(
children: [
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: [
Text("Book Name"),
Text("Author name"),
Divider(
color: Colors.black,
)
],
)
],
)
),
),
flutter horizontal line
Divider(
color: Colors.black
)
|