EBBaseStyle class
- Implementers
Constructors
-
EBBaseStyle({Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, double? height, String? fontFamily, TextOverflow? overflow, TextAlign? textAlign, bool? softWrap, int? maxLines, Color? borderColor, double? borderWidth, double? borderRadius, WidgetStateProperty<
Size?> ? minimumSize, WidgetStateProperty<Size?> ? fixedSize, WidgetStateProperty<Size?> ? maximumSize, ObjectFit? objectFit}) -
const
Properties
- backgroundColor → Color?
-
final
- borderColor → Color?
-
final
- borderRadius → double?
-
final
- borderWidth → double?
-
final
- color → Color?
-
final
-
fixedSize
→ WidgetStateProperty<
Size?> ? -
final
- fontFamily → String?
-
final
- fontSize → double?
-
final
- fontStyle → FontStyle?
-
final
- fontWeight → FontWeight?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- letterSpacing → double?
-
final
-
maximumSize
→ WidgetStateProperty<
Size?> ? -
final
- maxLines → int?
-
final
-
minimumSize
→ WidgetStateProperty<
Size?> ? -
final
- objectFit → ObjectFit?
-
final
- overflow → TextOverflow?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- softWrap → bool?
-
final
- textAlign → TextAlign?
-
final
- wordSpacing → double?
-
final
Methods
-
colorToHex(
Color? color) → String? -
fontWeightToString(
FontWeight? fontWeight) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited