ModelBinding constructor

const ModelBinding({
  1. Key? key,
  2. GalleryOptions initialModel = const GalleryOptions(),
  3. Widget? child,
})

Implementation

const ModelBinding({
  Key? key,
  this.initialModel = const GalleryOptions(),
  this.child,
})  : assert(initialModel != null),
      super(key: key);