FPickerStyle class

FPickerStyle's style.

Implemented types
Mixed-in types
Implementers
Available extensions

Constructors

FPickerStyle({required TextStyle textStyle, required Decoration selectionDecoration, required FFocusedOutlineStyle focusedOutlineStyle, required Future<void> hapticFeedback(), double diameterRatio = 1.07, double squeeze = 1, double magnification = 1, double overAndUnderCenterOpacity = 0.25, double spacing = 5, TextHeightBehavior textHeightBehavior = const TextHeightBehavior(applyHeightToFirstAscent: false, applyHeightToLastDescent: false), double selectionHeightAdjustment = 0})
Creates a FPickerStyle.
const
FPickerStyle.inherit({required FColors colors, required FStyle style, required FTypography typography, required FHapticFeedback hapticFeedback, required bool touch})
Creates a FPickerStyle that inherits its properties.

Properties

diameterRatio → double
A ratio between the diameter of the cylinder and the viewport's size. Defaults to 1.07.
final
focusedOutlineStyle → FFocusedOutlineStyle
The focused outline style.
final
hapticFeedback → Future<void> Function()
The haptic feedback for when the picker snaps to an item.
final
hashCode → int
The hash code for this object.
no setterinherited
magnification → double
The zoomed-in rate of the magnifier. Defaults to 1.
final
overAndUnderCenterOpacity → double
The opacity value applied to the wheel above and below the magnifier. Defaults to 0.25.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectionDecoration → Decoration
The selection's decoration.
final
selectionHeightAdjustment → double
An amount to add to the height of the selection. Defaults to 0.
final
spacing → double
The spacing between the picker's wheels. Defaults to 5.
final
squeeze → double
The angular compactness of the children on the wheel. Defaults to 1.
final
textHeightBehavior → TextHeightBehavior
The picker's text height behavior.
final
textStyle → TextStyle
The picker's text style.
final

Methods

call(covariant Object _) → FPickerStyle
Returns itself.
inherited
copyWith({TextStyleDelta? textStyle, DecorationDelta? selectionDecoration, FFocusedOutlineStyleDelta? focusedOutlineStyle, Future<void> hapticFeedback()?, double? diameterRatio, double? squeeze, double? magnification, double? overAndUnderCenterOpacity, double? spacing, TextHeightBehavior? textHeightBehavior, double? selectionHeightAdjustment}) → FPickerStyle

Available on FPickerStyle, provided by the $FPickerStyleTransformations extension

Returns a copy of this FPickerStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(FPickerStyle other, double t) → FPickerStyle

Available on FPickerStyle, provided by the $FPickerStyleTransformations extension

Linearly interpolate between this and another FPickerStyle using the given factor t.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited