FlutterSlide class

Inheritance

Constructors

FlutterSlide({Key? key, required Function action, required Widget child, double radius = 100, bool shimmer = true, double height = 70, double? buttonSize, double width = 250, Alignment alignLabel = const Alignment(-0.2, 0), Color backgroundColor = const Color(0xffe0e0e0), Color baseColor = Colors.black87, Color buttonColor = Colors.white, Color highlightedColor = const Color.fromARGB(255, 79, 76, 76), Text? label, bool dismissible = true, double dismissThresholds = 0.75, bool disable = false, BoxDecoration? decoration, BoxDecoration? disabledDecoration, BoxDecoration? disabledButtonDecoration, BoxDecoration? buttonDecoration})
const

Properties

action Function
final
alignLabel Alignment
Gives a alignment to a slider icon.
final
backgroundColor Color
Use it to define a color of widget.
final
baseColor Color
final
buttonColor Color
final
buttonDecoration BoxDecoration?
final
buttonSize double?
final
child Widget
To make button more customizable add your child widget
final
decoration BoxDecoration?
final
disable bool
final
disabledButtonDecoration BoxDecoration?
final
disabledDecoration BoxDecoration?
final
dismissible bool
Make it false if you want maintain the widget in the tree.
final
dismissThresholds double
final
hashCode int
The hash code for this object.
no setterinherited
height double
Use it to define a height and width of widget.
final
highlightedColor Color
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label Text?
Change it to gave a label on a widget of your choice.
final
radius double
Sets the radius of corners of a button.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shimmer bool
Make it false if you want to deactivate the shimmer effect.
final
width double
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _FlutterSlideState
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
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) 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

Operators

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