Skip to content

Commit fe128b6

Browse files
Merge pull request syncfusion#1766 from LokeshPalani/master
Added missing files in the charts
2 parents 8f0096c + badcad9 commit fe128b6

File tree

95 files changed

+6171
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+6171
-191
lines changed

packages/syncfusion_flutter_charts/lib/src/charts/behaviors/crosshair.dart

Lines changed: 1100 additions & 0 deletions
Large diffs are not rendered by default.

packages/syncfusion_flutter_charts/lib/src/charts/behaviors/trackball.dart

Lines changed: 3162 additions & 0 deletions
Large diffs are not rendered by default.

packages/syncfusion_flutter_charts/lib/src/charts/behaviors/zooming.dart

Lines changed: 1825 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
import 'package:flutter/material.dart';
2+
import 'package:syncfusion_flutter_core/theme.dart';
3+
4+
/// Holds the value of [SfSparkChartThemeData] color properties for
5+
/// material 2 theme based on the brightness.
6+
class SfSparkChartThemeDataM2 extends SfSparkChartThemeData {
7+
/// Creating an argument constructor of SfChartThemeDataM2 class.
8+
SfSparkChartThemeDataM2(this.context);
9+
10+
/// Specifies the build context of the chart widgets.
11+
final BuildContext context;
12+
13+
/// Specifies the material app color scheme based on the brightness.
14+
late final ColorScheme colorScheme = Theme.of(context).colorScheme;
15+
16+
@override
17+
Color? get color => Colors.blue;
18+
19+
@override
20+
Color? get axisLineColor => Colors.black;
21+
22+
@override
23+
Color? get markerFillColor => colorScheme.surface;
24+
25+
@override
26+
Color? get dataLabelBackgroundColor => colorScheme.surface;
27+
28+
@override
29+
Color? get tooltipColor => colorScheme.brightness == Brightness.light
30+
? const Color.fromRGBO(79, 79, 79, 1)
31+
: const Color.fromRGBO(255, 255, 255, 1);
32+
33+
@override
34+
Color? get trackballLineColor => colorScheme.brightness == Brightness.light
35+
? const Color.fromRGBO(79, 79, 79, 1)
36+
: const Color.fromRGBO(255, 255, 255, 1);
37+
38+
@override
39+
Color? get tooltipLabelColor => colorScheme.brightness == Brightness.light
40+
? const Color.fromRGBO(229, 229, 229, 1)
41+
: const Color.fromRGBO(0, 0, 0, 1);
42+
}
43+
44+
/// Holds the value of [SfSparkChartThemeData] color properties for
45+
/// material 3 theme based on the brightness.
46+
class SfSparkChartThemeDataM3 extends SfSparkChartThemeData {
47+
/// Creating an argument constructor of SfChartThemeDataM3 class.
48+
SfSparkChartThemeDataM3(this.context);
49+
50+
/// Specifies the build context of the chart widgets.
51+
final BuildContext context;
52+
53+
/// Specifies the material app color scheme based on the brightness.
54+
late final ColorScheme colorScheme = Theme.of(context).colorScheme;
55+
56+
@override
57+
Color? get color => colorScheme.brightness == Brightness.light
58+
? const Color.fromRGBO(150, 60, 112, 1)
59+
: const Color.fromRGBO(77, 170, 255, 1);
60+
61+
@override
62+
Color? get axisLineColor => colorScheme.brightness == Brightness.light
63+
? const Color.fromRGBO(73, 69, 79, 1)
64+
: const Color.fromRGBO(202, 196, 208, 1);
65+
66+
@override
67+
Color? get markerFillColor => colorScheme.surface;
68+
69+
@override
70+
Color? get dataLabelBackgroundColor => colorScheme.surface;
71+
72+
@override
73+
Color? get tooltipColor => colorScheme.inverseSurface;
74+
75+
@override
76+
Color? get trackballLineColor => colorScheme.brightness == Brightness.light
77+
? const Color.fromRGBO(73, 69, 79, 1)
78+
: const Color.fromRGBO(202, 196, 208, 1);
79+
80+
@override
81+
Color? get tooltipLabelColor => colorScheme.onInverseSurface;
82+
}

packages/syncfusion_pdfviewer_platform_interface/example/pubspec.yaml renamed to packages/syncfusion_flutter_pdfviewer_platform_interface/example/pubspec.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ dependencies:
1818
flutter:
1919
sdk: flutter
2020

21-
syncfusion_flutter_pdfviewer:
22-
git:
23-
url: https://SyncfusionBuild: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@github.com/essential-studio/flutter-pdfviewer
24-
path: flutter_pdfviewer/syncfusion_flutter_pdfviewer
25-
branch: release/25.1.1
26-
ref: release/25.1.1
21+
syncfusion_flutter_pdfviewer: ^25.1.35
22+
2723

2824
# The following adds the Cupertino Icons font to your application.
2925
# Use with the CupertinoIcons class for iOS style icons.

packages/syncfusion_pdfviewer_platform_interface/example/lib/main.dart

Lines changed: 0 additions & 53 deletions
This file was deleted.

packages/syncfusion_pdfviewer_platform_interface/lib/pdfviewer_platform_interface.dart

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/syncfusion_pdfviewer_platform_interface/lib/src/method_channel_pdfviewer.dart

Lines changed: 0 additions & 62 deletions
This file was deleted.

packages/syncfusion_pdfviewer_platform_interface/lib/src/pdfviewer_platform_interface.dart

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)