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

Adjust animations lint rules (#814)

This commit is contained in:
Brett Morgan
2021-06-08 09:00:06 +10:00
committed by GitHub
parent 12ba3b2245
commit b1a49c0afb
28 changed files with 75 additions and 46 deletions

View File

@@ -5,6 +5,7 @@
import 'package:flutter/material.dart';
class ExpandCardDemo extends StatelessWidget {
const ExpandCardDemo({Key? key}) : super(key: key);
static const String routeName = '/misc/expand_card';
@override
@@ -13,7 +14,7 @@ class ExpandCardDemo extends StatelessWidget {
appBar: AppBar(
title: const Text('Expandable Card'),
),
body: Center(
body: const Center(
child: ExpandCard(),
),
);
@@ -21,6 +22,7 @@ class ExpandCardDemo extends StatelessWidget {
}
class ExpandCard extends StatefulWidget {
const ExpandCard({Key? key}) : super(key: key);
@override
_ExpandCardState createState() => _ExpandCardState();
}