PhotoImage constructor

const PhotoImage({
  1. required String uri,
  2. required Rect rect,
})

Creates a new instance of PhotoImage.

Implementation

const PhotoImage({
  required this.uri,
  required this.rect,
});