NeomageTextTheme class

Typography definitions for Neomage, including monospaced variants for code and terminal output.

Constructors

NeomageTextTheme({required TextStyle displayLarge, required TextStyle displayMedium, required TextStyle headlineLarge, required TextStyle headlineMedium, required TextStyle titleLarge, required TextStyle titleMedium, required TextStyle bodyLarge, required TextStyle bodyMedium, required TextStyle bodySmall, required TextStyle labelLarge, required TextStyle labelMedium, required TextStyle labelSmall, required TextStyle code, required TextStyle codeSmall, required TextStyle terminal})
const
NeomageTextTheme.defaults({Color color = Colors.white})
Default text theme using Inter for proportional text and JetBrains Mono for code / terminal styles.
factory

Properties

bodyLarge TextStyle
final
bodyMedium TextStyle
final
bodySmall TextStyle
final
code TextStyle
Monospaced style for inline code blocks.
final
codeSmall TextStyle
Smaller monospaced style for annotations inside code.
final
displayLarge TextStyle
final
displayMedium TextStyle
final
hashCode int
The hash code for this object.
no setterinherited
headlineLarge TextStyle
final
headlineMedium TextStyle
final
labelLarge TextStyle
final
labelMedium TextStyle
final
labelSmall TextStyle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terminal TextStyle
Monospaced style for terminal / REPL output.
final
titleLarge TextStyle
final
titleMedium TextStyle
final

Methods

apply({required Color color}) NeomageTextTheme
Returns a copy of this theme with all styles applied the given color.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serialise to a plain map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited