NmDomainCard class

The exact-match result for a name: 32 px name (and its ASCII form), status and note, card actions, an optional lifecycle timeline, the metrics (or a "no history" line), a caps section label and the ways to get it (NmAcquisitionRows). Layout only — the caller maps its data into the slots. Added in 0.3.0.

Inheritance

Constructors

NmDomainCard({Key? key, required String name, required Widget status, required String note, required String sectionLabel, required List<Widget> offers, required String emptyOffers, String? altName, List<Widget> actions = const [], Widget? lifecycle, Widget? metrics, String? metricsFooter, String? noHistory})
Creates an NmDomainCard.
const

Properties

actions → List<Widget>
Card actions on the right (watch, want, details).
final
altName → String?
The ASCII (punycode) form when it differs from name.
final
emptyOffers → String
Shown when offers is empty ("Taken and not for sale").
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lifecycle → Widget?
Timeline under the header (NmLifecycleTimeline).
final
metrics → Widget?
Metrics (NmMetricStrip); null shows noHistory instead.
final
metricsFooter → String?
A line under the metrics (other zones · as-of date).
final
name → String
The name as shown (Unicode for IDNs).
final
noHistory → String?
Shown instead of the metrics when there are none ("New domain without history.").
final
note → String
A line next to the status (provider · price · date); empty hides it.
final
offers → List<Widget>
One row per way to get the name (NmAcquisitionRow).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionLabel → String
Caps label above the offers ("Ways to get it").
final
status → Widget
Status pill.
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