FieldsDivider constructor
FieldsDivider({
- TitleFieldType? type,
- String? divider,
- String? value,
Implementation
factory FieldsDivider({
TitleFieldType? type,
String? divider,
String? value,
}) {
if (type == null && divider != null) {
return FieldsDivider.divider(divider);
} else if (type == TitleFieldType.fieldsDivider && value != null) {
return FieldsDivider.divider(value);
}
return const FieldsDivider._(divider: null, type: null);
}