IconsCropRotateEditor constructor

const IconsCropRotateEditor({
  1. IconData bottomNavBar = Icons.crop_rotate_rounded,
  2. IconData rotate = Icons.rotate_90_degrees_ccw_outlined,
  3. IconData aspectRatio = Icons.crop,
  4. IconData flip = Icons.flip,
  5. IconData reset = Icons.restore,
})

Creates an instance of IconsCropRotateEditor with customizable icon settings.

You can provide custom icons for various actions in the Crop/Rotate Editor component.

  • bottomNavBar icon represents the icon in the bottom navigation bar.
  • rotate icon represents the rotate action.
  • aspectRatio icon represents the aspect ratio action.

If no custom icons are provided, default icons are used for each action.

Example:

IconsCropRotateEditor(
  bottomNavBar: Icons.crop_rotate_rounded,
  rotate: Icons.rotate_90_degrees_ccw_outlined,
  aspectRatio: Icons.crop,
)

Implementation

const IconsCropRotateEditor({
  this.bottomNavBar = Icons.crop_rotate_rounded,
  this.rotate = Icons.rotate_90_degrees_ccw_outlined,
  this.aspectRatio = Icons.crop,
  this.flip = Icons.flip,
  this.reset = Icons.restore,
});