phase3: improve arg-bang handler (allow ! in chains, ; terminator). 574->440
This commit is contained in:
@@ -91,7 +91,7 @@ class DesktopProductItemState extends State<DesktopProductItem> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
widget.product!.description,
|
||||
widget.product!.description!,
|
||||
// overflow: kIsWeb ? null : TextOverflow.ellipsis,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 2,
|
||||
@@ -116,7 +116,7 @@ class DesktopProductItemState extends State<DesktopProductItem> {
|
||||
) : SizedBox.shrink(),
|
||||
),
|
||||
ShowPrice(
|
||||
widget.product!.price,
|
||||
widget.product!.price!,
|
||||
regularPrice: widget.product!.regularPrice,
|
||||
currencySign: '\$',
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -174,7 +174,7 @@ class DesktopProductItemState extends State<DesktopProductItem> {
|
||||
),
|
||||
Container(
|
||||
child: Text(
|
||||
widget.product!.description,
|
||||
widget.product!.description!,
|
||||
// overflow: kIsWeb ? null : TextOverflow.ellipsis,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 2,
|
||||
@@ -200,7 +200,7 @@ class DesktopProductItemState extends State<DesktopProductItem> {
|
||||
) : SizedBox.shrink(),
|
||||
),
|
||||
ShowPrice(
|
||||
widget.product!.price,
|
||||
widget.product!.price!,
|
||||
regularPrice: widget.product!.regularPrice,
|
||||
currencySign: '\$',
|
||||
fontWeight: FontWeight.bold,
|
||||
|
||||
Reference in New Issue
Block a user