CardTitle class

CardTitle class

Constructors

CardTitle({String? display, String? name, double? fontSize = 16.0, Color? color = Colors.black, String? fontFamily, FontWeight? fontWeight = FontWeight.w700, double? height, FontStyle? fontStyle, double? letterSpacing, Color? background, double? titleMinHeight = 0, double? paddingHorizontal = 0, double? paddingVertical = 0, double? titleTopSpace = 0, double? titleBottomBorderRadius = 0, double? outsideTitleMaxWidth = 80.0})
const

Properties

background Color?
set background color for the title
final
color Color?
set color of the title
final
display String?
set inside or outside display of title. Eg: display: 'inside' for inside display | display: 'outside' for outside display
final
fontFamily String?
set font type of the title
final
fontSize double?
set font size of the title
final
fontStyle FontStyle?
set font style of the title
final
fontWeight FontWeight?
set font weight of the title
final
hashCode int
The hash code for this object.
no setterinherited
height double?
set line height of the title
final
letterSpacing double?
set spacing between letters for the title
final
name String?
set title of the card
final
outsideTitleMaxWidth double?
set max width for the outside title
final
paddingHorizontal double?
set horizontal spacing around the title
final
paddingVertical double?
set vertical spacing around the title
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleBottomBorderRadius double?
set radius for bottom left and right when background is used for the title
final
titleMinHeight double?
set minimum height for the title if background is used for the title
final
titleTopSpace double?
set bottom space for icon or image
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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