toMap method

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

Implementation

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