BSTextParams class
Class used to pass data to bootstrap typography widgets at min text is the only param required.
Constructors
-
BSTextParams(String text, {double textSizeSmall = -1, double textSizeLarge = -1, TextAlign? textAlignment, Color? color, FontWeight? weight, FontStyle? fontStyle, TextDecoration? textDecoration, double? height, Paint? background, Color? backgroundColor, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? fontFamily, List<
String> ? fontFamilyFallback, List<FontFeature> ? fontFeatures, String? debugLabel, Paint? foreground, bool inherit = true, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, TextOverflow? overflow, String? package, List<Shadow> ? shadows, TextBaseline? textBaseline, double? wordSpacing, int? maxLines, String? semanticsLabel, bool? softWrap, StrutStyle? strutStyle, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis, Key? textKey}) - text is the only required param
Properties
- background → Paint?
-
final
- backgroundColor → Color?
-
final
- color → Color?
-
final
- debugLabel → String?
-
final
- decorationColor → Color?
-
final
- decorationStyle → TextDecorationStyle?
-
final
- decorationThickness → double?
-
final
- fontFamily → String?
-
final
-
fontFamilyFallback
→ List<
String> ? -
final
-
fontFeatures
→ List<
FontFeature> ? -
final
- fontStyle → FontStyle?
-
final
- foreground → Paint?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- inherit → bool
-
final
- leadingDistribution → TextLeadingDistribution?
-
final
- letterSpacing → double?
-
final
- locale → Locale?
-
final
- maxLines → int?
-
final
- overflow → TextOverflow?
-
final
- package → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticsLabel → String?
-
final
-
shadows
→ List<
Shadow> ? -
final
- softWrap → bool?
-
final
- strutStyle → StrutStyle?
-
final
- text → String
-
final
- textAlignment → TextAlign?
-
final
- textBaseline → TextBaseline?
-
final
- textDecoration → TextDecoration?
-
final
- textDirection → TextDirection?
-
final
- textHeightBehavior → TextHeightBehavior?
-
final
- textKey → Key?
-
final
- textScaleFactor → double?
-
final
- textSizeLarge ↔ double
-
getter/setter pair
- textSizeSmall ↔ double
-
getter/setter pair
- textWidthBasis → TextWidthBasis?
-
final
- weight → FontWeight?
-
final
- wordSpacing → double?
-
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.
inherited