Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gmalpha_flutter
Project
Project
Details
Activity
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
mobile
gmalpha_flutter
Commits
f64b7c33
Commit
f64b7c33
authored
Sep 24, 2019
by
杜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add activity
parent
2a6ef164
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
12 deletions
+6
-12
.gitignore
.gitignore
+1
-0
executionHistory.bin
android/.gradle/5.4.1/executionHistory/executionHistory.bin
+0
-0
executionHistory.lock
android/.gradle/5.4.1/executionHistory/executionHistory.lock
+0
-0
fileHashes.bin
android/.gradle/5.4.1/fileHashes/fileHashes.bin
+0
-0
fileHashes.lock
android/.gradle/5.4.1/fileHashes/fileHashes.lock
+0
-0
buildOutputCleanup.lock
android/.gradle/buildOutputCleanup/buildOutputCleanup.lock
+0
-0
AnimationList.dart
lib/ActivityReportModel/page/AnimationList.dart
+5
-12
No files found.
.gitignore
View file @
f64b7c33
.DS_Store
.history
.dart_tool/
.packages
...
...
android/.gradle/5.4.1/executionHistory/executionHistory.bin
View file @
f64b7c33
No preview for this file type
android/.gradle/5.4.1/executionHistory/executionHistory.lock
View file @
f64b7c33
No preview for this file type
android/.gradle/5.4.1/fileHashes/fileHashes.bin
View file @
f64b7c33
No preview for this file type
android/.gradle/5.4.1/fileHashes/fileHashes.lock
View file @
f64b7c33
No preview for this file type
android/.gradle/buildOutputCleanup/buildOutputCleanup.lock
View file @
f64b7c33
No preview for this file type
lib/ActivityReportModel/page/AnimationList.dart
View file @
f64b7c33
...
...
@@ -37,20 +37,13 @@ class _AnimatedListSampleState extends State<AnimatedListSample> {
_listKey
.
currentState
.
insertItem
(
length
,
duration:
Duration
(
milliseconds:
seconds
));
});
});
return
new
MaterialApp
(
home:
new
Scaffold
(
appBar:
new
AppBar
(
title:
Text
(
'
${_list.length}
'
)
),
body:
new
Padding
(
return
Padding
(
padding:
const
EdgeInsets
.
all
(
16.0
),
child:
new
AnimatedList
(
key:
_listKey
,
initialItemCount:
_list
.
length
,
itemBuilder:
_buildItem
,
),
),
),
);
}
...
...
@@ -69,14 +62,14 @@ class CardItem extends StatelessWidget {
@override
Widget
build
(
BuildContext
context
)
{
TextStyle
textStyle
=
Theme
.
of
(
context
).
textTheme
.
display1
;
return
new
Padding
(
return
Padding
(
padding:
const
EdgeInsets
.
all
(
2.0
),
child:
new
SizeTransition
(
child:
SizeTransition
(
axis:
Axis
.
vertical
,
sizeFactor:
animation
,
child:
SizedBox
(
child:
SizedBox
(
height:
100
,
child:
Text
(
'Item
$
{item['b']}
'
,
style:
textStyle
),
child:
Text
(
'Item
$
item
'
,
style:
textStyle
),
)
)
);
...
...
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