CropOption constructor

const CropOption({
  1. bool reversible = true,
  2. List<AspectRatio> ratios = const [AspectRatio(title: 'Freeform'), AspectRatio(title: '1:1', ratio: 1), AspectRatio(title: '4:3', ratio: 4 / 3), AspectRatio(title: '5:4', ratio: 5 / 4), AspectRatio(title: '7:5', ratio: 7 / 5), AspectRatio(title: '16:9', ratio: 16 / 9)],
})

Implementation

const CropOption({
  this.reversible = true,
  this.ratios = const [
    AspectRatio(title: 'Freeform'),
    AspectRatio(title: '1:1', ratio: 1),
    AspectRatio(title: '4:3', ratio: 4 / 3),
    AspectRatio(title: '5:4', ratio: 5 / 4),
    AspectRatio(title: '7:5', ratio: 7 / 5),
    AspectRatio(title: '16:9', ratio: 16 / 9),
  ],
});