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, double customBreakpoints(BuildContext context, String textType, {required double large, required double small})?})
Properties
- autofocus ↔ bool
-
getter/setter pair
- background ↔ Paint?
-
getter/setter pair
- backgroundColor ↔ Color?
-
getter/setter pair
- color ↔ Color?
-
getter/setter pair
- cursorColor ↔ Color?
-
getter/setter pair
- cursorHeight ↔ double?
-
getter/setter pair
- cursorRadius ↔ Radius?
-
getter/setter pair
- cursorWidth ↔ double
-
getter/setter pair
- customBreakpoints ↔ (double Function(BuildContext context, String textType, {required double large, required double small})?)
-
getter/setter pair
- debugLabel ↔ String?
-
getter/setter pair
- decoration ↔ TextDecoration?
-
getter/setter pair
- decorationColor ↔ Color?
-
getter/setter pair
- decorationStyle ↔ TextDecorationStyle?
-
getter/setter pair
- decorationThickness ↔ double?
-
getter/setter pair
- dragStartBehavior ↔ DragStartBehavior
-
getter/setter pair
- enableInteractiveSelection ↔ bool
-
getter/setter pair
- focusNode ↔ FocusNode?
-
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
- fontWeight ↔ FontWeight?
-
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
- minLines ↔ int?
-
getter/setter pair
- onSelectionChanged ↔ (void Function(TextSelection, SelectionChangedCause?)?)
-
getter/setter pair
- onTap ↔ (void Function()?)
-
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
- scrollPhysics ↔ ScrollPhysics?
-
getter/setter pair
- selectionControls ↔ TextSelectionControls?
-
getter/setter pair
- selectionHeightStyle ↔ BoxHeightStyle
-
getter/setter pair
- selectionWidthStyle ↔ BoxWidthStyle
-
getter/setter pair
- semanticsLabel ↔ String?
-
getter/setter pair
-
shadows
↔ List<
Shadow> ? -
getter/setter pair
- showCursor ↔ bool
-
getter/setter pair
- strutStyle ↔ StrutStyle?
-
getter/setter pair
- text ↔ String
-
getter/setter pair
- textAlign ↔ TextAlign?
-
getter/setter pair
- textBaseline ↔ TextBaseline?
-
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
- toolbarOptions ↔ ToolbarOptions?
-
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