FMCreditCard class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FMCreditCard
Constructors
-
FMCreditCard({Key? key, double width = 430.0, double height = 230.0, EdgeInsetsGeometry padding = const EdgeInsets.all(10), EdgeInsetsGeometry margin = const EdgeInsets.all(10), Color color = const Color(0xFF49B7AE), DecorationImage? image, BoxBorder? border, BorderRadiusGeometry? borderRadius = const BorderRadius.all(Radius.circular(15)), List<
BoxShadow> ? boxShadow, Gradient? gradient, String title = "Flutterme Card", TextStyle titleStyle = const TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.bold), String number = "0000000000000000", TextStyle numberStyle = const TextStyle(fontSize: 24, color: Colors.white, fontWeight: FontWeight.bold), FMMaskType numberMaskType = FMMaskType.full, String validThru = "0199", TextStyle validThruStyle = const TextStyle(color: Colors.white), FMMaskType validThruMaskType = FMMaskType.full, String cvv = "000", TextStyle cvvStyle = const TextStyle(color: Colors.white), FMMaskType cvvMaskType = FMMaskType.full, String holder = "John Doe", TextStyle holderStyle = const TextStyle(fontSize: 20, color: Colors.white)}) -
Flutterme Credit Card
Creates a customizable credit card widget with validations.Made By Flutterme @https://github.com/fluttermeorg
const
Properties
- border → BoxBorder?
-
Border
final
- borderRadius → BorderRadiusGeometry?
-
Border Radius
final
-
boxShadow
→ List<
BoxShadow> ? -
Box Shadow
final
- color → Color
-
Color
final
- cvv → String
-
CVV
final
- cvvMaskType → FMMaskType
-
CVV Mask Type
final
- cvvStyle → TextStyle
-
CVV
final
- gradient → Gradient?
-
Gradient
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Height
final
- holder → String
-
Holder
final
- holderStyle → TextStyle
-
Holder Style
final
- image → DecorationImage?
-
Image
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → EdgeInsetsGeometry
-
Margin
final
- number → String
-
Number
final
- numberMaskType → FMMaskType
-
Number Mask Type
final
- numberStyle → TextStyle
-
Number Style
final
- padding → EdgeInsetsGeometry
-
Padding
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title
final
- titleStyle → TextStyle
-
Title Style
final
- validThru → String
-
Valid Thru
final
- validThruMaskType → FMMaskType
-
Valid Thru Mask Type
final
- validThruStyle → TextStyle
-
Valid Thru Style
final
- width → double
-
Width
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FMCreditCard> -
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, 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited