Commit ada25cad authored by Herry's avatar Herry

polishing

parent bbd9bbf2
import 'package:flutter/cupertino.dart';
import 'community.dart';
import 'post.dart';
......
......@@ -9,7 +9,6 @@ import '../data/communityGraphNodeData.dart';
import '../querying/datagetter.dart';
import '../data/post.dart';
import 'postnode.dart';
import 'postnode.dart';
import 'communitymetagraph.dart';
class CommunityGraph extends StatefulWidget {
......@@ -98,7 +97,9 @@ class _CommunityGraphState extends State<CommunityGraph> {
class CommunityGraphViewPage extends StatelessWidget {
final String communityname;
CommunityGraphViewPage(this.communityname);
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
......
import 'package:apex_flutter_sdk/apex_flutter_sdk.dart';
import 'package:dashboard/main.dart';
import 'package:dashboard/graphing/usergraph.dart';
import 'package:dashboard/data/post.dart';
import 'package:flutter/material.dart';
......@@ -50,8 +48,7 @@ class PostNodeTooltip extends StatelessWidget {
final Post post;
final Color trustColor;
double titleSize = 22;
final double titleSize = 22;
Widget build(BuildContext context) {
return Scaffold(
......
......@@ -12,7 +12,7 @@ import '../data/user.dart';
class UserGraph extends StatefulWidget {
UserGraph(this.user);
User user;
final User user;
@override
_UserGraphState createState() => _UserGraphState(user);
......
......@@ -3,7 +3,7 @@ import 'package:apex_flutter_sdk/apex_flutter_sdk.dart';
import 'trustcolorcalculator.dart';
class UserNode extends StatelessWidget {
List<Widget> communities = [];
final List<Widget> communities = [];
final Map<String, dynamic> trustScores;
UserNode(this.trustScores);
......
import 'datagetter.dart';
import 'package:http/http.dart' as http;
import 'datagetter.dart';
class ClusterGetter {
Future<Map<String, dynamic>> getClusters(String layerName) async {
String url =
......
import 'package:dashboard/graphing/communitymetagraph.dart';
import 'package:dashboard/sign_in/credentials.dart';
import 'package:dashboard/querying/datagetter.dart';
import 'package:dashboard/sign_in/login_form.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment