Visitar URL original
[animations] Update demo home page by shihaohong · Pull Request #78 · flutter/packages · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' of github.com:flutter/packages into polish-main…
…-page
  • Loading branch information
Shi Hao Hong
Shi Hao Hong committed Feb 3, 2020
commit fb83514633414b548b4059d62b40dd587dbbf297
21 changes: 17 additions & 4 deletions packages/animations/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ class _TransitionsHomePageState extends State<_TransitionsHomePage> {

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Material Transitions')),
body: SafeArea(
child: Column(
return SafeArea(
child: Scaffold(
appBar: AppBar(title: const Text('Material Transitions')),
body: Column(
children: <Widget>[
Expanded(
child: ListView(
Expand All @@ -58,6 +58,19 @@ class _TransitionsHomePageState extends State<_TransitionsHomePage> {
);
},
),
_TransitionListTile(
title: 'Container Transform',
subtitle: 'OpenContainer',
onTap: () {
Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (BuildContext context) {
return OpenContainerTransformDemo();
},
),
);
},
),
_TransitionListTile(
title: 'Fade Through',
subtitle: 'FadeThroughTransition',
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.