We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d935cb0 commit 1057ab4Copy full SHA for 1057ab4
packages/in_app_purchase/in_app_purchase_android/example/lib/main.dart
@@ -145,7 +145,7 @@ class _MyAppState extends State<_MyApp> {
145
_buildConnectionCheckTile(),
146
_buildProductList(),
147
_buildConsumableBox(),
148
- _FeatureCard(),
+ const _FeatureCard(),
149
],
150
),
151
);
@@ -444,9 +444,9 @@ class _MyAppState extends State<_MyApp> {
444
}
445
446
class _FeatureCard extends StatelessWidget {
447
- _FeatureCard();
+ const _FeatureCard();
448
449
- final InAppPurchaseAndroidPlatformAddition addition =
+ InAppPurchaseAndroidPlatformAddition get addition =>
450
InAppPurchasePlatformAddition.instance!
451
as InAppPurchaseAndroidPlatformAddition;
452
0 commit comments