superscriptShiftUp abstract method

double superscriptShiftUp(
  1. double fontSizePx, {
  2. bool? displayStyle,
  3. bool? crampedStyle,
})

In Dart, method overloading is not permitted. Named optional parameters successfully emulate the separate signatures for superscriptShiftUp found in the Kotlin source.

Implementation

double superscriptShiftUp(
  double fontSizePx, {
  bool? displayStyle,
  bool? crampedStyle,
});