parseDropCap function
DropCap?
parseDropCap(
- Map<
String, dynamic> ? map, - BuildContext buildContext,
- ClickListener? listener
Implementation
DropCap? parseDropCap(Map<String, dynamic>? map, BuildContext buildContext,
ClickListener? listener) {
if (map == null) {
return null;
}
return DropCap(
width: map['width']?.toDouble(),
height: map['height']?.toDouble(),
child:
DynamicWidgetBuilder.buildFromMap(map["child"], buildContext, listener),
);
}