Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
424a122e
Unverified
Commit
424a122e
authored
Feb 17, 2021
by
Abhishek Ghaskata
Committed by
GitHub
Feb 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor Hero example (#75895)
parent
6757c7dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
heroes.dart
packages/flutter/lib/src/widgets/heroes.dart
+3
-3
No files found.
packages/flutter/lib/src/widgets/heroes.dart
View file @
424a122e
...
...
@@ -118,7 +118,7 @@ enum HeroFlightDirection {
/// return Column(
/// crossAxisAlignment: CrossAxisAlignment.start,
/// children: <Widget>[
/// SizedBox(
///
const
SizedBox(
/// height: 20.0,
/// ),
/// ListTile(
...
...
@@ -127,7 +127,7 @@ enum HeroFlightDirection {
/// child: _blueRectangle(Size(50,50)),
/// ),
/// onTap: () => _gotoDetailsPage(context),
/// title: Text('Tap on the icon to view hero animation transition.'),
/// title:
const
Text('Tap on the icon to view hero animation transition.'),
/// ),
/// ],
/// );
...
...
@@ -145,7 +145,7 @@ enum HeroFlightDirection {
/// Navigator.of(context).push(MaterialPageRoute(
/// builder: (BuildContext context) => Scaffold(
/// appBar: AppBar(
/// title: Text('second Page'),
/// title:
const
Text('second Page'),
/// ),
/// body: Center(
/// child: Column(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment