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

isolate_example: Update lints, rebuild runners (#825)

This commit is contained in:
Brett Morgan
2021-06-08 08:49:46 +10:00
committed by GitHub
parent 865c545f3d
commit 78dee899ea
56 changed files with 1617 additions and 134 deletions

View File

@@ -30,6 +30,8 @@ int fib(int n) {
}
class PerformancePage extends StatefulWidget {
const PerformancePage({Key? key}) : super(key: key);
@override
_PerformancePageState createState() => _PerformancePageState();
}
@@ -43,7 +45,7 @@ class _PerformancePageState extends State<PerformancePage> {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SmoothAnimationWidget(),
const SmoothAnimationWidget(),
Container(
alignment: Alignment.bottomCenter,
padding: const EdgeInsets.only(top: 150),
@@ -125,6 +127,8 @@ class _PerformancePageState extends State<PerformancePage> {
}
class SmoothAnimationWidget extends StatefulWidget {
const SmoothAnimationWidget({Key? key}) : super(key: key);
@override
SmoothAnimationWidgetState createState() => SmoothAnimationWidgetState();
}