fetchDefaultAnnotationStyle method
Retrieves the default annotation style for the CPDFReaderWidget. This method returns a CPDFAnnotAttribute object that contains the default annotation attributes such as color, alpha, and border width. example:
CPDFAnnotAttribute defaultStyle = await controller.fetchDefaultAnnotationStyle();
Implementation
Future<CPDFAnnotAttribute> fetchDefaultAnnotationStyle() async {
final attrMap = await _channel.invokeMethod('get_default_annotation_attr');
return CPDFAnnotAttribute.fromJson(Map<String, dynamic>.from(attrMap));
}