DVStudioPageView typedef

DVStudioPageView = Widget? Function(String path, {Widget? content, bool layout})

The page at path as its route draws it: the page, its layouts and its shell. With content, that widget stands where the page's body goes -- how Studio draws a document it is editing inside the page's own chrome. With layout: false, the layouts are left out. Null for a path the application has no view for.

Implementation

typedef DVStudioPageView = Widget? Function(
  String path, {
  Widget? content,
  bool layout,
});