DotIndicator<T> class

Inheritance
Available extensions

Constructors

DotIndicator.new({required PageController pageController, required List<T> pages, Color? indicatorColor, Color? unselectedIndicatorColor, Function? onDotTap, dynamic onPageChanged(int)?, double? currentDotSize, double? currentDotWidth, double? dotSize, BoxShape? currentBoxShape, BoxShape? boxShape, BorderRadiusGeometry? borderRadius, BorderRadiusGeometry? currentBorderRadius, Key? key})
const

Properties

asMaterial β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

πŸ–Ό Wraps widget in a Material widget for better Material behaviors.
no setter
borderRadius β†’ BorderRadiusGeometry?
final
boxShape β†’ BoxShape?
final
centered β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

🏞 Centers a widget inside its parent.
no setter
currentBorderRadius β†’ BorderRadiusGeometry?
final
currentBoxShape β†’ BoxShape?
final
currentDotSize β†’ double?
final
currentDotWidth β†’ double?
final
dotSize β†’ double?
final
hashCode β†’ int
The hash code for this object.
no setterinherited
indicatorColor β†’ Color?
final
key β†’ Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onDotTap β†’ Function?
final
onPageChanged β†’ dynamic Function(int)?
final
pageController β†’ PageController
final
pages β†’ List<T>
final
runtimeType β†’ Type
A representation of the runtime type of the object.
no setterinherited
unselectedIndicatorColor β†’ Color?
final

Methods

center() β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

Wraps the widget with a Center widget.
cornerRadiusWithClipRRect(double radius) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

🟩 Applies a uniform corner radius to all corners.
cornerRadiusWithClipRRectOnly({double bottomLeft = 0.0, double bottomRight = 0.0, double topLeft = 0.0, double topRight = 0.0}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

🌟 Applies custom border radius to each corner using ClipRRect.
createElement() β†’ StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() β†’ DotIndicatorState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() β†’ List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) β†’ void
Add additional properties associated with the node.
inherited
expanded({int flex = 1}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

Wraps the widget with an Expanded widget.
fade({required double opacity, Duration duration = const Duration(milliseconds: 500)}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

🎭 Applies opacity animation to a widget.
fit({BoxFit? fit, AlignmentGeometry? alignment}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

add FittedBox to parent widget
flexible({int flex = 1, FlexFit fit = FlexFit.loose}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

Wraps the widget with a Flexible widget.
launch<T>(BuildContext context, {bool isNewTask = false, PageRouteAnimation? pageRouteAnimation, Duration? duration}) β†’ Future<T?>

Available on Widget, provided by the WidgetExtensions extension

Launch a new screen
noSuchMethod(Invocation invocation) β†’ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onTap(VoidCallback? function, {BorderRadius? borderRadius, Color? splashColor, Color? hoverColor, Color? highlightColor, Color? focusColor, WidgetStateProperty<Color?>? overlayColor}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

🎯 Adds an InkWell tap effect to a widget.
paddingAll(double value) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies equal padding on all sides.
paddingBottom(double value) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies padding only at the bottom.
paddingLeft(double value) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies padding only on the left.
paddingOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies padding to specific sides.
paddingRight(double value) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies padding only on the right.
paddingSymmetric({double horizontal = 0.0, double vertical = 0.0}) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies symmetrical padding.
paddingTop(double value) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

Applies padding only at the top.
rotate({required double angle, bool transformHitTests = true, Offset? origin}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

πŸ”„ Adds rotation transformation to a widget.
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) β†’ String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) β†’ String
Returns a one-line detailed description of the object.
inherited
toStringShort() β†’ String
A short, textual description of this widget.
inherited
validate({Widget value = const Offstage()}) β†’ Widget

Available on Widget?, provided by the WidgetExtension extension

Validate given widget is not null and returns given value if null.
visible(bool visible, {Widget? defaultWidget}) β†’ Widget

Available on Widget, provided by the PaddingExtensions extension

set visibility
withBackground(Color color) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

🎨 Wraps widget in a container with a background color.
withPadding({required EdgeInsets padding}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

Wraps the widget with a Padding widget.
withRefreshIndicator({required Future<void> onRefresh()}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

πŸ”„ Makes any widget refreshable using RefreshIndicator.
withTooltip({required String message}) β†’ Widget

Available on Widget, provided by the WidgetExtensions extension

πŸ’‘ Wraps a widget inside a tooltip.

Operators

operator ==(Object other) β†’ bool
The equality operator.
inherited