TerminalStyle class
Font-family + sizing slice. The view derives its measured TextStyle from this; bold/italic/boldItalic land in 2O-b.
Constructors
-
TerminalStyle({String? family, List<
String> ? fallback, double size = 14.0, double lineHeight = 1.0, String? boldFamily, String? italicFamily, String? boldItalicFamily}) - TerminalStyle.defaults()
-
VS Code-aligned platform defaults (same as TerminalConfig.defaults font).
factory
Properties
- boldFamily → String?
-
final
- boldItalicFamily → String?
-
final
-
fallback
→ List<
String> -
final
- family → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- italicFamily → String?
-
final
- lineHeight → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
final
Methods
-
copyWith(
{String? family, List< String> ? fallback, double? size, double? lineHeight, String? boldFamily, String? italicFamily, String? boldItalicFamily}) → TerminalStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toTextStyle(
) → TextStyle - Build the TextStyle the renderer measures cells from.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override