aspectRatioOptions property

A widget for selecting aspect ratio options in the crop editor.

This widget allows users to select different aspect ratio options for the crop editor.

  • editorState - The current state of the editor.
  • rebuildStream - A Stream that triggers the widget to rebuild.
  • aspectRatio - The aspect ratio to be set.
  • originalAspectRatio - The original aspect ratio.

Returns a ReactiveCustomWidget that provides options for crop editor aspect ratios.

Implementation

final CropEditorAspectRatioOptions<CropRotateEditorState>? aspectRatioOptions;