divider method
Thin separator used between social buttons and the OTP form.
Implementation
@override
Widget divider(String label) {
final line = Expanded(
child: Container(
height: 2,
decoration: BoxDecoration(
color: _base,
borderRadius: BorderRadius.circular(1),
boxShadow: _raised(d: 1, blur: 2),
),
),
);
return Row(
children: [
line,
Padding(
padding: const EdgeInsets.symmetric(horizontal: 10),
child: Text(label, style: mutedStyle),
),
line,
],
);
}