FlutterSlimyCard class

FlutterSlymyCard provides a beautiful slime-like card animation Divided into two different cards, one at the top the other at the bottom. You can put any custom widget in these two separate cards topCardWidget & bottomCardWidget.

FlutterSlimyCard's width cardWidth and other attributes, Top card height TopCardHeight & bottom card height bottomCardHeight, the border radius borderRadius and color colorCard can be adjusted as needed.

If necessary, you can also delete the slime-like animation by setting the value of the expression slimeEnabled is false.

FlutterSlimyCard supports Streams(BloC) to provide its real-time status. To do this, wrap FlutterSlimyCard in StreamBuilder and in itd stream attribute, Assing flutterSlimyCard.stream. Its snapshot will contain the status.

Inheritance

Constructors

FlutterSlimyCard({Key? key, Color color = const Color(0xffFF6347), double cardWidth = 300, double topCardHeight = 300, double bottomCardHeight = 150, double borderRadius = 25, Widget? topCardWidget, Widget? bottomCardWidget, bool slimeEnabled = true})

Properties

borderRadius double
final
bottomCardHeight double
final
bottomCardWidget Widget?
final
cardWidth double
final
color Color
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slimeEnabled bool
final
topCardHeight double
final
topCardWidget Widget?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _FlutterSlimyCardState
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