Hi everyone I am new to flutter and trying to write OR
in a horizontal line like shown in figure but I do not know how to do that, I have tried to google it but that did not helped me
example demonstration
Note: OR is in center
Below is the solution using a row widget
Row(children: const [
Expanded(child: Divider(thickness: 1.5)),
Text("OR",
style: TextStyle(fontSize: 20, color: Colors.grey)),
Expanded(child: Divider(thickness: 1.5)),
]),
This is it when i tried to create Instagram login screen