PlatformCardTheme class
Constructors
-
PlatformCardTheme({List<
BoxShadow> boxShadow = kDefaultShadow, String? debugLabel, Color cardColor = CupertinoColors.white, EdgeInsets padding = kDefaultPadding, EdgeInsets margin = kDefaultMargin, BorderRadius borderRadius = kDefaultBorderRadius}) -
const
- PlatformCardTheme.of(BuildContext context)
-
factory
-
PlatformCardTheme.ofRadius({required double radiusAmount, List<
BoxShadow> boxShadow = kDefaultShadow, String? debugLabel, Color cardColor = CupertinoColors.white, EdgeInsets padding = kDefaultPadding, EdgeInsets margin = kDefaultMargin})
Properties
- borderRadius → BorderRadius
-
final
-
boxShadow
→ List<
BoxShadow> -
final
- cardColor → Color
-
final
- debugLabel → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsets
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDefaultBorderRadius → const BorderRadius
- kDefaultMargin → const EdgeInsets
- kDefaultPadding → const EdgeInsets
-
kDefaultShadow
→ const List<
BoxShadow> - kDefaultShadowColor → const Color