Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,100 changes: 1,100 additions & 0 deletions packages/syncfusion_flutter_charts/lib/src/charts/behaviors/crosshair.dart

Large diffs are not rendered by default.

3,162 changes: 3,162 additions & 0 deletions packages/syncfusion_flutter_charts/lib/src/charts/behaviors/trackball.dart

Large diffs are not rendered by default.

1,825 changes: 1,825 additions & 0 deletions packages/syncfusion_flutter_charts/lib/src/charts/behaviors/zooming.dart

Large diffs are not rendered by default.

82 changes: 82 additions & 0 deletions packages/syncfusion_flutter_charts/lib/src/sparkline/theme.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_core/theme.dart';

/// Holds the value of [SfSparkChartThemeData] color properties for
/// material 2 theme based on the brightness.
class SfSparkChartThemeDataM2 extends SfSparkChartThemeData {
/// Creating an argument constructor of SfChartThemeDataM2 class.
SfSparkChartThemeDataM2(this.context);

/// Specifies the build context of the chart widgets.
final BuildContext context;

/// Specifies the material app color scheme based on the brightness.
late final ColorScheme colorScheme = Theme.of(context).colorScheme;

@override
Color? get color => Colors.blue;

@override
Color? get axisLineColor => Colors.black;

@override
Color? get markerFillColor => colorScheme.surface;

@override
Color? get dataLabelBackgroundColor => colorScheme.surface;

@override
Color? get tooltipColor => colorScheme.brightness == Brightness.light
? const Color.fromRGBO(79, 79, 79, 1)
: const Color.fromRGBO(255, 255, 255, 1);

@override
Color? get trackballLineColor => colorScheme.brightness == Brightness.light
? const Color.fromRGBO(79, 79, 79, 1)
: const Color.fromRGBO(255, 255, 255, 1);

@override
Color? get tooltipLabelColor => colorScheme.brightness == Brightness.light
? const Color.fromRGBO(229, 229, 229, 1)
: const Color.fromRGBO(0, 0, 0, 1);
}

/// Holds the value of [SfSparkChartThemeData] color properties for
/// material 3 theme based on the brightness.
class SfSparkChartThemeDataM3 extends SfSparkChartThemeData {
/// Creating an argument constructor of SfChartThemeDataM3 class.
SfSparkChartThemeDataM3(this.context);

/// Specifies the build context of the chart widgets.
final BuildContext context;

/// Specifies the material app color scheme based on the brightness.
late final ColorScheme colorScheme = Theme.of(context).colorScheme;

@override
Color? get color => colorScheme.brightness == Brightness.light
? const Color.fromRGBO(150, 60, 112, 1)
: const Color.fromRGBO(77, 170, 255, 1);

@override
Color? get axisLineColor => colorScheme.brightness == Brightness.light
? const Color.fromRGBO(73, 69, 79, 1)
: const Color.fromRGBO(202, 196, 208, 1);

@override
Color? get markerFillColor => colorScheme.surface;

@override
Color? get dataLabelBackgroundColor => colorScheme.surface;

@override
Color? get tooltipColor => colorScheme.inverseSurface;

@override
Color? get trackballLineColor => colorScheme.brightness == Brightness.light
? const Color.fromRGBO(73, 69, 79, 1)
: const Color.fromRGBO(202, 196, 208, 1);

@override
Color? get tooltipLabelColor => colorScheme.onInverseSurface;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ dependencies:
flutter:
sdk: flutter

syncfusion_flutter_pdfviewer:
git:
url: https://SyncfusionBuild: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@github.com/essential-studio/flutter-pdfviewer
path: flutter_pdfviewer/syncfusion_flutter_pdfviewer
branch: release/25.1.1
ref: release/25.1.1
syncfusion_flutter_pdfviewer: ^25.1.35


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

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.