PickerCache constructor

const PickerCache({
  1. bool enabled = false,
  2. int maxBytes = 100 * 1024 * 1024,
})

off, 100 mb when on.

Implementation

const PickerCache({this.enabled = false, this.maxBytes = 100 * 1024 * 1024}) : assert(maxBytes > 0);