mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 04:17:50 +00:00
[testing_app] Migrate to null safety (#800)
This commit is contained in:
committed by
GitHub
parent
2809a7c89c
commit
c0d3d0cf04
@@ -28,7 +28,7 @@ void main() {
|
||||
await binding.watchPerformance(
|
||||
() async {
|
||||
// Quickly scroll all the way down.
|
||||
await scroller.animateTo(
|
||||
await scroller!.animateTo(
|
||||
7000,
|
||||
duration: const Duration(seconds: 1),
|
||||
curve: Curves.linear,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user