mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
veggieseasons: Migrate to null safety (#922)
This commit is contained in:
@@ -10,9 +10,9 @@ import 'package:veggieseasons/screens/search.dart';
|
||||
import 'package:veggieseasons/screens/settings.dart';
|
||||
|
||||
class HomeScreen extends StatelessWidget {
|
||||
const HomeScreen({Key key, this.restorationId}) : super(key: key);
|
||||
const HomeScreen({Key? key, this.restorationId}) : super(key: key);
|
||||
|
||||
final String restorationId;
|
||||
final String? restorationId;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user