updateContentInsets method

  1. @override
Future<void> updateContentInsets(
  1. EdgeInsets insets,
  2. bool animated
)
override

Implementation

@override
Future<void> updateContentInsets(EdgeInsets insets, bool animated) async {
  await _channel.invokeMethod('map#updateContentInsets', <String, dynamic>{
    'bounds': <String, double>{
      'top': insets.top,
      'left': insets.left,
      'bottom': insets.bottom,
      'right': insets.right,
    },
    'animated': animated,
  });
}