mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
veggieseasons: Migrate to null safety (#922)
This commit is contained in:
@@ -14,9 +14,9 @@ import 'package:veggieseasons/styles.dart';
|
||||
import 'package:veggieseasons/widgets/veggie_card.dart';
|
||||
|
||||
class ListScreen extends StatelessWidget {
|
||||
const ListScreen({this.restorationId, Key key}) : super(key: key);
|
||||
const ListScreen({this.restorationId, Key? key}) : super(key: key);
|
||||
|
||||
final String restorationId;
|
||||
final String? restorationId;
|
||||
|
||||
Widget _generateVeggieRow(Veggie veggie, Preferences prefs,
|
||||
{bool inSeason = true}) {
|
||||
|
||||
Reference in New Issue
Block a user