buildUiSettings function

List<PlatformUiSettings>? buildUiSettings(
  1. BuildContext context
)

Implementation

List<PlatformUiSettings>? buildUiSettings(BuildContext context) {
  return [
    WebUiSettings(
      context: context,
      presentStyle: CropperPresentStyle.dialog,
      boundary: const CroppieBoundary(
        width: 300,
        height: 400,
      ),
      viewPort: const CroppieViewPort(
        width: 300,
        height: 400,
      ),
      enableExif: true,
      enableZoom: true,
      showZoomer: true,
    ),
  ];
}