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
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
17 deletions
+11
-17
.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
+10
-17
No files found.
.gitignore
View file @
f64b7c33
.DS_Store
.DS_Store
.history
.dart_tool/
.dart_tool/
.packages
.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,19 +37,12 @@ class _AnimatedListSampleState extends State<AnimatedListSample> {
...
@@ -37,19 +37,12 @@ class _AnimatedListSampleState extends State<AnimatedListSample> {
_listKey
.
currentState
.
insertItem
(
length
,
duration:
Duration
(
milliseconds:
seconds
));
_listKey
.
currentState
.
insertItem
(
length
,
duration:
Duration
(
milliseconds:
seconds
));
});
});
});
});
return
new
MaterialApp
(
return
Padding
(
home:
new
Scaffold
(
padding:
const
EdgeInsets
.
all
(
16.0
),
appBar:
new
AppBar
(
child:
new
AnimatedList
(
title:
Text
(
'
${_list.length}
'
)
key:
_listKey
,
),
initialItemCount:
_list
.
length
,
body:
new
Padding
(
itemBuilder:
_buildItem
,
padding:
const
EdgeInsets
.
all
(
16.0
),
child:
new
AnimatedList
(
key:
_listKey
,
initialItemCount:
_list
.
length
,
itemBuilder:
_buildItem
,
),
),
),
),
);
);
}
}
...
@@ -69,14 +62,14 @@ class CardItem extends StatelessWidget {
...
@@ -69,14 +62,14 @@ class CardItem extends StatelessWidget {
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
TextStyle
textStyle
=
Theme
.
of
(
context
).
textTheme
.
display1
;
TextStyle
textStyle
=
Theme
.
of
(
context
).
textTheme
.
display1
;
return
new
Padding
(
return
Padding
(
padding:
const
EdgeInsets
.
all
(
2.0
),
padding:
const
EdgeInsets
.
all
(
2.0
),
child:
new
SizeTransition
(
child:
SizeTransition
(
axis:
Axis
.
vertical
,
axis:
Axis
.
vertical
,
sizeFactor:
animation
,
sizeFactor:
animation
,
child:
SizedBox
(
child:
SizedBox
(
height:
100
,
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