IconsCropRotateEditor constructor
const
IconsCropRotateEditor({})
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,
});