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, double customBreakpoints(BuildContext context, String textType, {required double large, required double small})?})
text is the only required param

Properties

background Paint?
getter/setter pair
backgroundColor Color?
getter/setter pair
color Color?
getter/setter pair
customBreakpoints ↔ (double Function(BuildContext context, String textType, {required double large, required double small})?)
getter/setter pair
debugLabel String?
getter/setter pair
decorationColor Color?
getter/setter pair
decorationStyle TextDecorationStyle?
getter/setter pair
decorationThickness double?
getter/setter pair
fontFamily String?
getter/setter pair
fontFamilyFallback List<String>?
getter/setter pair
fontFeatures List<FontFeature>?
getter/setter pair
fontStyle FontStyle?
getter/setter pair
foreground Paint?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pair
inherit bool
getter/setter pair
leadingDistribution TextLeadingDistribution?
getter/setter pair
letterSpacing double?
getter/setter pair
locale Locale?
getter/setter pair
maxLines int?
getter/setter pair
overflow TextOverflow?
getter/setter pair
package String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel String?
getter/setter pair
shadows List<Shadow>?
getter/setter pair
softWrap bool?
getter/setter pair
strutStyle StrutStyle?
getter/setter pair
text String
getter/setter pair
textAlignment TextAlign?
getter/setter pair
textBaseline TextBaseline?
getter/setter pair
textDecoration TextDecoration?
getter/setter pair
textDirection TextDirection?
getter/setter pair
textHeightBehavior TextHeightBehavior?
getter/setter pair
textKey Key?
getter/setter pair
textScaleFactor double?
getter/setter pair
textSizeLarge double
getter/setter pair
textSizeSmall double
getter/setter pair
textWidthBasis TextWidthBasis?
getter/setter pair
weight FontWeight?
getter/setter pair
wordSpacing double?
getter/setter pair

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