PRFNavigationTile class

Tappable card with an SVG illustration and a chevron affordance.

Renders a rounded, shadowed card with an SVG asset, a title, and a circular arrow indicator pinned to the top-right corner (outside the content flow, so it never contributes to the tile's height budget).

Use for menu-style navigation entries. isNeutralCard switches the arrow to a neutral outline style; accent renders the Living Root action moment: a navy surface with white text and a lime arrow — reserve it for the single most important action on a screen.

Example:

PRFNavigationTile(
  title: 'Missions',
  assetPath: 'assets/missions.svg',
  onTap: () => _openMissions(),
)
Inheritance

Constructors

PRFNavigationTile({required String title, required String assetPath, required VoidCallback onTap, Key? key, double assetHeight = 56, bool isNeutralCard = false, bool accent = false})
const

Properties

accent → bool
When true the tile becomes the screen's action moment: navy surface, white title, lime arrow chip.
final
assetHeight → double
Height of the SVG asset. Defaults to 56.
final
assetPath → String
Asset path of the SVG illustration.
final
hashCode → int
The hash code for this object.
no setterinherited
isNeutralCard → bool
When true the arrow affordance uses the neutral outline style.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onTap → VoidCallback
Invoked when the card is tapped.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
Card title, shown under the asset.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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, int wrapWidth = 65}) → 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