addDivider method
分割线
Implementation
void addDivider(
{double? indent,
double? endIndent,
double vertical = 10.0,
Color? color}) {
_children.add(
Padding(
padding: EdgeInsets.symmetric(vertical: vertical),
child: Divider(
color: color,
height: 1.0,
thickness: 1.0,
indent: indent,
endIndent: endIndent,
),
),
);
}