DVStudioSiteSource class

Where Studio's Pages section learns the site.

Constructors

DVStudioSiteSource({required Future<List<DVStudioSitePage>> pages(), Future<Object?> structure(String route)?, Widget? preview(String path)?, DVStudioPageView? view, DVStudioAppLook? look})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
look → DVStudioAppLook?
The application's themes and scroll behaviour, which a page on the canvas is drawn with. Null draws it in whatever theme is in force.
final
pages → Future<List<DVStudioSitePage>> Function()
Every route, compiled and stored.
final
preview → Widget? Function(String path)?
The compiled page itself, built as its route builds it, where the application's code is in the process: Studio inside the application.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structure → Future<Object?> Function(String route)?
The captured structure of a compiled page, as the build's semantics capture writes it, or null when there is none.
final
view → DVStudioPageView?
Each page as its route builds it -- the page, its layouts and its shell -- with a document Studio is editing in place of the page's body when one is given. The generated dartvelPagePreview is one, so a preview that is one serves as both.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited