Skip to content

Commit

Permalink
Cleanup pub warnings
Browse files Browse the repository at this point in the history
Use relative imports instead
  • Loading branch information
thekeenant committed Nov 28, 2018
1 parent eba1a63 commit 26fbb66
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ build/
ios/.generated/
packages
pubspec.lock
.vscode
2 changes: 1 addition & 1 deletion example/lib/line/cities.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:fcharts/fcharts.dart';
import 'package:fcharts_example/data.dart';
import '../data.dart';
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';

Expand Down
2 changes: 0 additions & 2 deletions example/lib/line/sparkline.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import 'package:fcharts/fcharts.dart';
import 'package:fcharts_example/data.dart';
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';

/// Our sparkline data.
const data = [0.0, -0.2, -0.9, -0.5, 0.0, 0.5, 0.6, 0.9, 0.8, 1.2, 0.5, 0.0];
Expand Down
9 changes: 4 additions & 5 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import 'package:fcharts/fcharts.dart';
import 'package:fcharts_example/bar/simple.dart';
import 'package:fcharts_example/line/cities.dart';
import 'package:fcharts_example/line/simple.dart';
import 'package:fcharts_example/line/sparkline.dart';
import 'bar/simple.dart';
import 'line/cities.dart';
import 'line/simple.dart';
import 'line/sparkline.dart';
import 'package:flutter/material.dart';

void main() => runApp(new FChartsExampleApp());
Expand Down

0 comments on commit 26fbb66

Please sign in to comment.