Widget constraint for GalleryPage as an example