parseDropCapPosition function
Implementation
DropCapPosition? parseDropCapPosition(String? value) {
if (value == null) {
return null;
}
switch (value) {
case 'start':
return DropCapPosition.start;
case 'end':
return DropCapPosition.end;
default:
return DropCapPosition.start;
}
}