NitroLogo class

A responsive logo widget for Nitro.

The full block-letter art is wrapped in FittedBox with BoxFit.scaleDown so it is never scaled up and never overflows its allocated area.

Width is read from stdout.terminalColumns at build time — safe because nocterm already triggers a full rebuild whenever the terminal is resized, so no SIGWINCH listener or polling timer is needed.

Constructors

NitroLogo({required Color color, Key? key})
const

Properties

color → Color
final
hashCode int
The hash code for this object.
no setterinherited
key → Key?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) → Component
Describes the part of the user interface represented by this component.
createElement() → StatelessElement
inherited
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