Skip to content

Commit

Permalink
chore: Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lsaudon authored and imaNNeo committed Apr 30, 2023
1 parent af4e6fa commit 25e318a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 16 deletions.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ analyzer:
- "**.mocks.dart"
linter:
rules:
always_put_required_named_parameters_first: false
avoid_bool_literals_in_conditional_expressions: false
avoid_positional_boolean_parameters: false
comment_references: false
Expand Down
3 changes: 2 additions & 1 deletion example/lib/presentation/menu/menu_row.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class MenuRow extends StatelessWidget {
svgPath,
width: AppDimens.menuIconSize,
height: AppDimens.menuIconSize,
color: AppColors.primary,
colorFilter:
const ColorFilter.mode(AppColors.primary, BlendMode.srcIn),
),
const SizedBox(
width: 18,
Expand Down
6 changes: 3 additions & 3 deletions example/lib/presentation/samples/line/line_chart_sample8.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ class _LineChartSample8State extends State<LineChartSample8> {
const rawSvg =
'<svg height="14" width="14" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" transform="translate(-.000014)"><circle cx="7" cy="7" fill="#495DFF" r="7"/><path d="m7 10.9999976c1.6562389 0 2.99998569-1.34374678 2.99998569-2.99999283s-1.34374679-4.99998808-2.99998569-4.99998808c-1.6562532 0-3 3.34374203-3 4.99998808s1.3437468 2.99999283 3 2.99999283z" fill="#fff" fill-rule="nonzero"/></g></svg>';

final svgRoot = await svg.fromSvgString(rawSvg, rawSvg);
final pictureInfo =
await vg.loadPicture(const SvgStringLoader(rawSvg), null);

final picture = svgRoot.toPicture();
final sizedPicture = SizedPicture(picture, 14, 14);
final sizedPicture = SizedPicture(pictureInfo.picture, 14, 14);
return sizedPicture;
}

Expand Down
12 changes: 6 additions & 6 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ dependencies:
flutter_web_plugins:
sdk: flutter
cupertino_icons: ^1.0.5
google_fonts: ^3.0.1
flutter_svg: ^1.1.6
google_fonts: ^4.0.3
flutter_svg: ^2.0.5
universal_platform: ^1.0.0+1
flutter_staggered_grid_view: ^0.6.2
url_launcher: ^6.1.8
go_router: ^6.0.1
url_launcher: ^6.1.10
go_router: ^6.5.6
dartx: ^1.1.0
fl_chart:
path: ../

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^2.0.1

flutter:
uses-material-design: true
Expand All @@ -35,4 +35,4 @@ flutter:

assets:
- assets/icons/
- assets/fonts/
- assets/fonts/
1 change: 1 addition & 0 deletions lib/fl_chart.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
library fl_chart;

export 'src/chart/bar_chart/bar_chart.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/chart/radar_chart/radar_chart_painter.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'dart:math' show pi, cos, sin, min;
import 'dart:math' show cos, min, pi, sin;

import 'package:fl_chart/fl_chart.dart';
import 'package:fl_chart/src/chart/base/base_chart/base_chart_painter.dart';
Expand Down
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ dependencies:
sdk: flutter

dev_dependencies:
build_runner: ^2.2.1
build_runner: ^2.3.3
flutter_test:
sdk: flutter
mockito: ^5.3.2
vector_math: ^2.1.2 #Added to use in some generated codes of mockito
very_good_analysis: ^3.1.0
mockito: ^5.4.0
vector_math: ^2.1.4 #Added to use in some generated codes of mockito
very_good_analysis: ^4.0.0+1

screenshots:
- description: 'LineChartSample1 and LineChartSample2'
Expand All @@ -36,4 +36,4 @@ screenshots:
- description: 'ScatterChartSample2'
path: pub_screenshots/scatter_chart_sample_2.gif
- description: 'RadarChartSample1'
path: pub_screenshots/radar_chart_sample_1.jpg
path: pub_screenshots/radar_chart_sample_1.jpg

0 comments on commit 25e318a

Please sign in to comment.