BSSelectParams class
Class used to pass data to bootstrap typography widgets at min text is the only param required. Only for selectable versions
Constructors
-
BSSelectParams(String text, {double textSizeSmall = -1, double textSizeLarge = -1, void onTap()?, bool autofocus = false, Color? cursorColor, double? cursorHeight, Radius? cursorRadius, double cursorWidth = 2.0, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool enableInteractiveSelection = true, FocusNode? focusNode, int? maxLines, int? minLines, void onSelectionChanged(TextSelection, SelectionChangedCause?)?, ScrollPhysics? scrollPhysics, TextSelectionControls? selectionControls, BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight, String? semanticsLabel, bool showCursor = false, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, TextHeightBehavior? textHeightBehavior, double? textScaleFactor, TextWidthBasis? textWidthBasis, ToolbarOptions? toolbarOptions, Key? textKey, Color? color, Paint? background, Color? backgroundColor, String? debugLabel, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? fontFamily, List<
String> ? fontFamilyFallback, List<FontFeature> ? fontFeatures, FontStyle? fontStyle, FontWeight? fontWeight, Paint? foreground, double? height, bool inherit = true, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, TextOverflow? overflow, String? package, List<Shadow> ? shadows, TextBaseline? textBaseline, double? wordSpacing})
Properties
- autofocus → bool
-
final
- background → Paint?
-
final
- backgroundColor → Color?
-
final
- color → Color?
-
final
- cursorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double
-
final
- debugLabel → String?
-
final
- decoration → TextDecoration?
-
final
- decorationColor → Color?
-
final
- decorationStyle → TextDecorationStyle?
-
final
- decorationThickness → double?
-
final
- dragStartBehavior → DragStartBehavior
-
final
- enableInteractiveSelection → bool
-
final
- focusNode → FocusNode?
-
final
- fontFamily → String?
-
final
-
fontFamilyFallback
→ List<
String> ? -
final
-
fontFeatures
→ List<
FontFeature> ? -
final
- fontStyle → FontStyle?
-
final
- fontWeight → FontWeight?
-
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
- minLines → int?
-
final
- onSelectionChanged → (void Function(TextSelection, SelectionChangedCause?)?)
-
final
- onTap → (void Function()?)
-
final
- overflow → TextOverflow?
-
final
- package → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPhysics → ScrollPhysics?
-
final
- selectionControls → TextSelectionControls?
-
final
- selectionHeightStyle → BoxHeightStyle
-
final
- selectionWidthStyle → BoxWidthStyle
-
final
- semanticsLabel → String?
-
final
-
shadows
→ List<
Shadow> ? -
final
- showCursor → bool
-
final
- strutStyle → StrutStyle?
-
final
- text → String
-
final
- textAlign → TextAlign?
-
final
- textBaseline → TextBaseline?
-
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
- toolbarOptions → ToolbarOptions?
-
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