setBackButtonInsets method

Future<void> setBackButtonInsets({
  1. double? top,
  2. double? left,
})

Customise the portrait (non-fullscreen) back-button inset. Pass top and/or left in points. Either argument may be null to keep the corresponding default (top=8, left=15). Pass both as null to reset.

Implementation

Future<void> setBackButtonInsets({double? top, double? left}) {
  final args = <String, dynamic>{};
  if (top != null) args['top'] = top;
  if (left != null) args['left'] = left;
  return _invoke('setBackButtonInsets', args);
}