DVPage class

Annotation for a Dartvel Page.

Constructors

DVPage({String? path, String? title, String? description, String? policy, DVMfa? mfa, DVPageShellMode shell = DVPageShellMode.adaptive, bool scaffold = true, bool showAppBar = false, bool selectable = true, bool findable = true, bool safeArea = true, bool centerTitle = false, bool extendBody = false, bool resizeToAvoidBottomInset = true, int? backgroundColor, int? appBarBackgroundColor, DVPageSitemap? sitemap})
const

Properties

appBarBackgroundColor → int?
final
backgroundColor → int?
final
centerTitle → bool
final
description → String?
What this page is about, in a sentence: its meta description, its og:description and the description in its structured data.
final
extendBody → bool
final
findable → bool
Whether the browser's own find (Ctrl+F, "Find in page") reaches this page on the web. True by default: the shell keeps a findable copy of the page's rendered text in the document and scrolls to what the browser matched, with nothing for the page to add.
final
hashCode → int
The hash code for this object.
no setterinherited
mfa → DVMfa?
The second factor this device's session must have presented before the page opens, or null for none. An unsatisfied page redirects to the second-factor challenge and comes back once it is presented. The page is the interface; the backend functions it calls enforce their own mfa.
final
path → String?
final
policy → String?
final
resizeToAvoidBottomInset → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeArea → bool
final
scaffold → bool
final
selectable → bool
Whether the page's text can be selected. True by default -- a page whose text cannot be copied is a defect rather than a style.
final
shell → DVPageShellMode
final
showAppBar → bool
final
sitemap → DVPageSitemap?
How this page appears in sitemap.xml, or null for the defaults.
final
title → String?
final

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