nativeSelectionHidden top-level property

Facet<bool, bool> nativeSelectionHidden
final

Facet that indicates whether native selection should be hidden.

When true, the editor should hide Flutter's native selection and use the custom selection layer instead.

Implementation

final nativeSelectionHidden = Facet.define<bool, bool>(
  FacetConfig(
    combine: (values) => values.isNotEmpty && values.any((v) => v),
  ),
);