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 d7e465e commit e706ce7Copy full SHA for e706ce7
lib/local_ads_management/view/edit_local_native_ad_page.dart
@@ -30,13 +30,15 @@ class EditLocalNativeAdPage extends StatelessWidget {
30
localAdsRepository: context.read<DataRepository<LocalAd>>(),
31
id: adId,
32
),
33
- child: const _EditLocalNativeAdView(),
+ child: _EditLocalNativeAdView(adId: adId),
34
);
35
}
36
37
38
class _EditLocalNativeAdView extends StatefulWidget {
39
- const _EditLocalNativeAdView();
+ const _EditLocalNativeAdView({required this.adId});
40
+
41
+ final String adId;
42
43
@override
44
State<_EditLocalNativeAdView> createState() => _EditLocalNativeAdViewState();
0 commit comments