FFScrollbarTheme constructor
FFScrollbarTheme({
- bool? thumbVisible,
- bool? trackVisible,
- double? thickness,
- double? radius,
- bool? interactive,
- FFColor? thumbColor,
- FFColor? thumbHoverColor,
- FFColor? thumbDragColor,
- FFColor? trackColor,
- FFColor? trackHoverColor,
- FFColor? trackBorderColor,
- FFColor? trackBorderHoverColor,
- double? minThumbLength,
- double? crossAxisMargin,
- double? mainAxisMargin,
- bool? horizontalScrollbarAlwaysVisible,
Implementation
factory FFScrollbarTheme({
$core.bool? thumbVisible,
$core.bool? trackVisible,
$core.double? thickness,
$core.double? radius,
$core.bool? interactive,
FFColor? thumbColor,
FFColor? thumbHoverColor,
FFColor? thumbDragColor,
FFColor? trackColor,
FFColor? trackHoverColor,
FFColor? trackBorderColor,
FFColor? trackBorderHoverColor,
$core.double? minThumbLength,
$core.double? crossAxisMargin,
$core.double? mainAxisMargin,
$core.bool? horizontalScrollbarAlwaysVisible,
}) {
final result = create();
if (thumbVisible != null) result.thumbVisible = thumbVisible;
if (trackVisible != null) result.trackVisible = trackVisible;
if (thickness != null) result.thickness = thickness;
if (radius != null) result.radius = radius;
if (interactive != null) result.interactive = interactive;
if (thumbColor != null) result.thumbColor = thumbColor;
if (thumbHoverColor != null) result.thumbHoverColor = thumbHoverColor;
if (thumbDragColor != null) result.thumbDragColor = thumbDragColor;
if (trackColor != null) result.trackColor = trackColor;
if (trackHoverColor != null) result.trackHoverColor = trackHoverColor;
if (trackBorderColor != null) result.trackBorderColor = trackBorderColor;
if (trackBorderHoverColor != null)
result.trackBorderHoverColor = trackBorderHoverColor;
if (minThumbLength != null) result.minThumbLength = minThumbLength;
if (crossAxisMargin != null) result.crossAxisMargin = crossAxisMargin;
if (mainAxisMargin != null) result.mainAxisMargin = mainAxisMargin;
if (horizontalScrollbarAlwaysVisible != null)
result.horizontalScrollbarAlwaysVisible =
horizontalScrollbarAlwaysVisible;
return result;
}