items property

List<CropRatio>? items
final

Defines all allowed crop aspect ratios. The crop ratio buttons are shown in the given order.

// Defaults to:
final items = [
  CropRatio(width: 1, height: 1, name: "Square"),
  CropRatio(width: 16, height: 9, toggleable: true),
  CropRatio(width: 4, height: 3, toggleable: true),
  CropRatio(width: 3, height: 2, toggleable: true),
];

Implementation

final List<CropRatio>? items;