mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Remove unneeded types (#949)
This commit is contained in:
@@ -53,7 +53,7 @@ class _FadeTransitionDemoState extends State<FadeTransitionDemo>
|
||||
body: Center(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
children: [
|
||||
FadeTransition(
|
||||
opacity: _animation,
|
||||
child: const Icon(
|
||||
|
||||
@@ -78,7 +78,7 @@ class _AnimatedListDemoState extends State<AnimatedListDemo> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('AnimatedList'),
|
||||
actions: <Widget>[
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.add),
|
||||
onPressed: addUser,
|
||||
|
||||
@@ -42,11 +42,11 @@ class _CardSwipeDemoState extends State<CardSwipeDemo> {
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
child: Center(
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
children: [
|
||||
Expanded(
|
||||
child: ClipRect(
|
||||
child: Stack(
|
||||
children: <Widget>[
|
||||
children: [
|
||||
for (final fileName in fileNames)
|
||||
SwipeableCard(
|
||||
imageAssetName: fileName,
|
||||
|
||||
Reference in New Issue
Block a user