1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

[testing_app] Migrate to null safety (#800)

This commit is contained in:
Abdullah Deshmukh
2021-05-20 14:34:46 +05:30
committed by GitHub
parent 2809a7c89c
commit c0d3d0cf04
5 changed files with 18 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ import 'package:provider/provider.dart';
import 'package:testing_app/models/favorites.dart';
import 'package:testing_app/screens/favorites.dart';
Favorites favoritesList;
late Favorites favoritesList;
Widget createFavoritesScreen() => ChangeNotifierProvider<Favorites>(
create: (context) {