defaultSelectionHeightStyle property

BoxHeightStyle get defaultSelectionHeightStyle

The default value for selectionHeightStyle.

On web platforms, this defaults to ui.BoxHeightStyle.max.

On native platforms, this defaults to ui.BoxHeightStyle.includeLineSpacingMiddle for all platforms.

Implementation

static ui.BoxHeightStyle get defaultSelectionHeightStyle {
  if (kIsWeb) {
    return ui.BoxHeightStyle.max;
  }
  return ui.BoxHeightStyle.includeLineSpacingMiddle;
}