TerminalStyle class
Constructors
-
TerminalStyle({double fontSize = _kDefaultFontSize, double height = _kDefaultHeight, String fontFamily = _kDefaultFontFamily, List<
String> fontFamilyFallback = _kDefaultFontFamilyFallback}) -
const
- TerminalStyle.fromTextStyle(TextStyle textStyle)
-
factory
Properties
- fontFamily → String
-
final
-
fontFamilyFallback
→ List<
String> -
final
- fontSize → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? fontSize, double? height, String? fontFamily, List< String> ? fontFamilyFallback}) → 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(
{Color? color, Color? backgroundColor, bool bold = false, bool italic = false, bool underline = false}) → TextStyle
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited