getToolWidth method

  1. @override
Future<num> getToolWidth()

Gets the annotation tool width.
Return the current tool width.

Implementation

@override
Future<num> getToolWidth() async {
  return await methodChannel
      .invokeMethod<num>('getToolWidth')
      .then<num>((num? value) => value ?? 0);
}