Divider
Example
import 'package:flutter_vant_kit/main.dart';
NDivider(
content: "Divider",
)
More examples please refer Demo
API
Attribute
Description
Type
Default
content
Divider text
String
-
fontColor
Text color
Color
#969799
fontSize
Text size
double
14
lineColor
Divider color
Color
#ebedf0
hairline
Whether to be hairline
bool
false
contentPosition
Content position
String
center
child
Custom divider content
Widget
-
Last updated
Was this helpful?