Inheritance
System.Object
AssetCard
public class AssetCard : StatelessWidget
Constructors
Declaration
public AssetCard(string name, string category, float price, float priceDiscount, bool showBadge, string imageSrc)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
category |
|
System.Single |
price |
|
System.Single |
priceDiscount |
|
System.Boolean |
showBadge |
|
System.String |
imageSrc |
|
Fields
Declaration
public readonly string category
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly string imageSrc
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly string name
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly float price
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float priceDiscount
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly bool showBadge
Field Value
Type |
Description |
System.Boolean |
|
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides