Cell class

Represents a single character cell with optional text styling.

Constructors

Cell(String char, [TextStyle? style])
Creates a Cell with the given char and optional style.
const

Properties

char String
The character displayed in this cell.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
The text style applied to this cell, or null for default styling.
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.
override

Constants

empty → const Cell
An empty cell containing a single space with no styling.