toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() => {
      'android.toolbar_title': toolbarTitle,
      'android.toolbar_color': int32(toolbarColor?.value),
      'android.statusbar_color': int32(statusBarColor?.value),
      'android.toolbar_widget_color': int32(toolbarWidgetColor?.value),
      'android.background_color': int32(backgroundColor?.value),
      'android.active_controls_widget_color':
          int32(activeControlsWidgetColor?.value),
      'android.dimmed_layer_color': int32(dimmedLayerColor?.value),
      'android.crop_frame_color': int32(cropFrameColor?.value),
      'android.crop_grid_color': int32(cropGridColor?.value),
      'android.crop_frame_stroke_width': cropFrameStrokeWidth,
      'android.crop_grid_row_count': cropGridRowCount,
      'android.crop_grid_column_count': cropGridColumnCount,
      'android.crop_grid_stroke_width': cropGridStrokeWidth,
      'android.show_crop_grid': showCropGrid,
      'android.lock_aspect_ratio': lockAspectRatio,
      'android.hide_bottom_controls': hideBottomControls,
      'android.init_aspect_ratio': aspectRatioPresetName(initAspectRatio),
    };