buildUiSettings function

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

Implementation

List<PlatformUiSettings>? buildUiSettings(BuildContext context) {
  return [
    AndroidUiSettings(
      toolbarTitle: 'Cropper',
      toolbarColor: Colors.white,
      toolbarWidgetColor: Colors.white,
      lockAspectRatio: false,
      statusBarColor: Colors.white,
      backgroundColor: Colors.black,
      cropGridColor: Colors.white,
      cropFrameColor: Colors.white,
    ),
    IOSUiSettings(
      hidesNavigationBar: true,
      title: 'Cropper',
      aspectRatioLockEnabled: false,
      rotateButtonsHidden: true,
    ),
  ];
}