Inheritance
System.Object
Card
public class Card : StatelessWidget
Constructors
Declaration
public Card(Key key = null, Color color = null, float? elevation = default(float? ), ShapeBorder shape = null, bool borderOnForeground = true, EdgeInsets margin = null, Clip? clipBehavior = default(Clip? ), Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
Color |
color |
|
System.Nullable<System.Single> |
elevation |
|
ShapeBorder |
shape |
|
System.Boolean |
borderOnForeground |
|
EdgeInsets |
margin |
|
System.Nullable<Clip> |
clipBehavior |
|
Widget |
child |
|
Fields
Declaration
public readonly bool borderOnForeground
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly Widget child
Field Value
Declaration
public readonly Clip? clipBehavior
Field Value
Type |
Description |
System.Nullable<Clip> |
|
Declaration
public readonly Color color
Field Value
Declaration
public readonly float? elevation
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly EdgeInsets margin
Field Value
Declaration
public readonly ShapeBorder shape
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides