1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-31 16:55:34 +00:00

Landing beta changes in master for the new stable release (#747)

This commit is contained in:
Andrew Brogdon
2021-03-03 11:44:35 -08:00
committed by GitHub
parent 6c81510d6e
commit 8c1cd0b049
101 changed files with 1006 additions and 1040 deletions

View File

@@ -88,7 +88,7 @@ class _PerformancePageState extends State<PerformancePage> {
var snackBar = SnackBar(
content: Text('Main Isolate Done!'),
);
Scaffold.of(context).showSnackBar(snackBar);
ScaffoldMessenger.of(context).showSnackBar(snackBar);
});
setState(() {
@@ -102,7 +102,7 @@ class _PerformancePageState extends State<PerformancePage> {
var snackBar = SnackBar(
content: Text('Secondary Isolate Done!'),
);
Scaffold.of(context).showSnackBar(snackBar);
ScaffoldMessenger.of(context).showSnackBar(snackBar);
});
setState(() {
@@ -131,8 +131,8 @@ class SmoothAnimationWidget extends StatefulWidget {
class SmoothAnimationWidgetState extends State<SmoothAnimationWidget>
with TickerProviderStateMixin {
AnimationController _animationController;
Animation<BorderRadius> _borderAnimation;
late final AnimationController _animationController;
late final Animation<BorderRadius> _borderAnimation;
@override
void initState() {