Visitar URL original
[animations] Polish demo text and animation demo list order to match spec by shihaohong · Pull Request #84 · flutter/packages · GitHub
Skip to content
Merged
Show file tree
Hide file tree
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
Update capitalization and text to match spec
  • Loading branch information
Shi Hao Hong
Shi Hao Hong committed Feb 4, 2020
commit a82165ee08d989e2c01b222f2e6a6c143e24abfd
4 changes: 2 additions & 2 deletions packages/animations/example/lib/container_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class _OpenContainerTransformDemoState
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Container Transform')),
appBar: AppBar(title: const Text('Container transform')),
body: ListView(
padding: const EdgeInsets.all(8.0),
children: <Widget>[
Expand Down Expand Up @@ -382,7 +382,7 @@ class _DetailsPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Container Transform')),
appBar: AppBar(title: const Text('Details page')),
body: ListView(
children: <Widget>[
Container(
Expand Down
2 changes: 1 addition & 1 deletion packages/animations/example/lib/fade_scale_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class _FadeScaleTransitionDemoState extends State<FadeScaleTransitionDemo>
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Fade Transition Demo'),
title: const Text('Fade'),
),
floatingActionButton: AnimatedBuilder(
animation: _controller,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class _FadeThroughTransitionDemoState extends State<FadeThroughTransitionDemo> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Fade Through Transition')),
appBar: AppBar(title: const Text('Fade through')),
body: PageTransitionSwitcher(
transitionBuilder: (
Widget child,
Expand Down
6 changes: 3 additions & 3 deletions packages/animations/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class _TransitionsHomePageState extends State<_TransitionsHomePage> {
child: ListView(
children: <Widget>[
_TransitionListTile(
title: 'Container Transform',
title: 'Container transform',
subtitle: 'OpenContainer',
onTap: () {
Navigator.of(context).push(
Expand All @@ -58,7 +58,7 @@ class _TransitionsHomePageState extends State<_TransitionsHomePage> {
},
),
_TransitionListTile(
title: 'Shared Axis',
title: 'Shared axis',
subtitle: 'SharedAxisTransition',
onTap: () {
Navigator.of(context).push(
Expand All @@ -71,7 +71,7 @@ class _TransitionsHomePageState extends State<_TransitionsHomePage> {
},
),
_TransitionListTile(
title: 'Fade Through',
title: 'Fade through',
subtitle: 'FadeThroughTransition',
onTap: () {
Navigator.of(context).push(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class _SharedAxisTransitionDemoState extends State<SharedAxisTransitionDemo> {
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(title: const Text('Shared Axis Transition')),
appBar: AppBar(title: const Text('Shared axis')),
body: SafeArea(
child: Column(
children: <Widget>[
Expand Down