LandingPageView class
{@image } A simple view meant to act as a templated landing page for a resource.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- LandingPageView
Constructors
-
LandingPageView({required Image lightModeLandscapeBacking, required Image darkModeLandscapeBacking, required Image lightModeUIOverlay, required Image darkModeUIOverlay, required List<
StandardIconButtonElement> actionButtons, VoidCallback? onGiveFeedback}) -
const
Properties
-
actionButtons
→ List<
StandardIconButtonElement> -
A list of
StandardIconButtonElement
s that represent the main Calls To Action that you want the user to take. These should be limited to 1 or 2 of the most important things on the landing page.final - darkModeLandscapeBacking → Image
-
An image for the dark mode landing page background.
final
- darkModeUIOverlay → Image
-
An image for the dark mode landing page foreground image.
This should be a UI overlay or logo.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lightModeLandscapeBacking → Image
-
An image for the light mode landing page background.
final
- lightModeUIOverlay → Image
-
An image for the light mode landing page foreground image.
This should be a UI overlay or logo.
final
- onGiveFeedback → VoidCallback?
-
A VoidCallback that performs an action when a user wants to give you
feedback on your resource. This should link them to a contact page, or
open an email.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _LandingPageViewState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited