DDSCard class

Inheritance

Constructors

DDSCard.new({Key? key, required String title, required String content, Widget? media, Color? backgroundColor, Color? borderColor = Colors.transparent, Color? textColor, Color? contentTextColor, CardVariant variant = CardVariant.fullWidthCard, CardShape shape = CardShape.roundedRectangle, Widget? pilledContent, double? pilledHeight = 48.0, double? pilledWidth = 200.0, double? pilledBorderRadius = 24.0, double? fullWidthCardHeight = 206.0, double? fullWidthCardWidth = 358.0, double? bannerHeight = 206.0, double? bannerWidth = 358.0, double? verticalCardHeight = 200.0, double? verticalCardWidth = 182.0, double? horizontalCardHeight = 163.0, double? horizontalCardWidth = 380.0, double? leanCardHeight = 50.0, double? leanCardWidth = 380.0})
const

Properties

backgroundColor Color?
final
bannerHeight double?
final
bannerWidth double?
final
borderColor Color?
final
content String
final
contentTextColor Color?
final
fullWidthCardHeight double?
final
fullWidthCardWidth double?
final
hashCode int
The hash code for this object.
no setterinherited
horizontalCardHeight double?
final
horizontalCardWidth double?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leanCardHeight double?
final
leanCardWidth double?
final
media Widget?
final
pilledBorderRadius double?
final
pilledContent Widget?
final
pilledHeight double?
final
pilledWidth double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape CardShape
final
textColor Color?
final
title String
final
variant CardVariant
final
verticalCardHeight double?
final
verticalCardWidth double?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
FullWidthCard() Widget
HorizontalCard() Widget
LeanCard() Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
PilledCard() 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
VerticalCard() Widget

Operators

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