Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
36006b0a
Commit
36006b0a
authored
Feb 23, 2021
by
Herry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adaped enhancedfuturebuilder
parent
c79c463a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
usergraph.dart
src/dashboard/lib/usergraph.dart
+5
-4
pubspec.lock
src/dashboard/pubspec.lock
+1
-1
pubspec.yaml
src/dashboard/pubspec.yaml
+1
-6
No files found.
src/dashboard/lib/usergraph.dart
View file @
36006b0a
...
...
@@ -75,10 +75,11 @@ class UserGraphViewPage extends StatelessWidget {
Wrap
(
children:
[],
),
EnhancedFutureBuilder
(
future:
DataGetter
.
getJson
(
"http://live.nope-api.systems:81/users/"
+
username
.
toString
()),
EnhancedFutureBuilder
<
User
>(
future:
DataGetter
.
getUser
(
username
),
// future: DataGetter.getJson(
// "http://live.nope-api.systems:81/users/" +
// username.toString()),
rememberFutureResult:
false
,
whenDone:
(
result
)
=>
UserGraph
(
result
),
whenNotDone:
Container
(
...
...
src/dashboard/pubspec.lock
View file @
36006b0a
...
...
@@ -56,7 +56,7 @@ packages:
name: circlegraph
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.
1
"
version: "0.0.
2
"
clock:
dependency: transitive
description:
...
...
src/dashboard/pubspec.yaml
View file @
36006b0a
...
...
@@ -12,17 +12,12 @@ environment:
dependencies
:
flutter
:
sdk
:
flutter
graphview
:
^0.6.6
apex_flutter_sdk
:
^1.1.1+1
enhanced_future_builder
:
^1.0.3
http
:
^0.12.2
circlegraph
:
^0.0.1
circlegraph
:
^0.0.2
cupertino_icons
:
^1.0.1
logger
:
^0.9.4
dev_dependencies
:
...
...
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