Skip to content

Commit c0dee15

Browse files
FLUT-931209-[others]: updated latest changes
1 parent d45b0ee commit c0dee15

File tree

109 files changed

+959
-852
lines changed

Some content is hidden

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

109 files changed

+959
-852
lines changed

LICENSE

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Syncfusion License
1+
Syncfusion<sup>&reg;</sup> License
22

3-
Syncfusion Essential Flutter library is available under the Syncfusion Essential Studio<sup>&reg;</sup> program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
3+
Syncfusion Essential<sup>&reg;</sup> Flutter library is available under the Syncfusion Essential Studio<sup>&reg;</sup> program, and can be licensed either under the Syncfusion<sup>&reg;</sup> Community License Program or the Syncfusion<sup>&reg;</sup> commercial license.
44

5-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
5+
To be qualified for the Syncfusion<sup>&reg;</sup> Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion<sup>&reg;</sup> terms and conditions.
66

77
Customers who do not qualify for the community license can contact [email protected] for commercial licensing options.
88

9-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
9+
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion<sup>&reg;</sup> license containing all terms and conditions.
1010

11-
The Syncfusion license that contains the terms and conditions can be found at
11+
The Syncfusion<sup>&reg;</sup> license that contains the terms and conditions can be found at
1212
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
1313

14-
Syncfusion provides implementation but you would subsequently need to have a license to use Flutter. The Flutter engine must be licensed from google directly. We do not license Flutter or the Flutter Engine and provide no license or rights even if you end up with the binaries from us by mistake.
14+
Syncfusion<sup>&reg;</sup> provides implementation but you would subsequently need to have a license to use Flutter. The Flutter engine must be licensed from google directly. We do not license Flutter or the Flutter Engine and provide no license or rights even if you end up with the binaries from us by mistake.

README.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Syncfusion Flutter examples
1+
# Syncfusion<sup>&reg;</sup> Flutter examples
22

3-
This repository contains awesome demos of [Syncfusion Flutter UI widgets](https://www.syncfusion.com/flutter-widgets). This is the best place to check our widgets to get more insight into the usage of APIs. You can also check our widgets by installing the complete Flutter sample browser from [Google Play Store](https://play.google.com/store/apps/details?id=com.syncfusion.flutter.examples) or [App Store](https://apps.apple.com/us/app/syncfusion-flutter-ui-widgets/id1475231341), in which you can browse the demo for all the widgets and view the source code of each sample within the app itself.
3+
This repository contains awesome demos of [Syncfusion<sup>&reg;</sup> Flutter UI widgets](https://www.syncfusion.com/flutter-widgets). This is the best place to check our widgets to get more insight into the usage of APIs. You can also check our widgets by installing the complete Flutter sample browser from [Google Play Store](https://play.google.com/store/apps/details?id=com.syncfusion.flutter.examples) or [App Store](https://apps.apple.com/us/app/syncfusion-flutter-ui-widgets/id1475231341), in which you can browse the demo for all the widgets and view the source code of each sample within the app itself.
44

55
<img src="images/flutter_examples.png"/>
66

@@ -18,12 +18,12 @@ This repository contains awesome demos of [Syncfusion Flutter UI widgets](https:
1818
* Flutter SDK
1919
| Channel| Version|
2020
|--------|--------|
21-
| Stable | [3.24.0]([https://code.visualstudio.com/download](https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.24.0-stable.zip))|
21+
| Stable | [3.24.0](https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.24.0-stable.zip)|
2222

2323
* Dart and Flutter add-ons for Visual Studio Code (available via the Visual studio code extension) in Android Studio it available in plugin preference.
2424

2525
## <a name="repository-structure"></a> Repository Structure ##
26-
The <b>lib/samples</b> directory contains the Flutter widget examples for each widget such as Charts, DataGrid, etc. All the examples can be deployed in Android, Web, Windows, Linux, iOS, and Mac platforms.
26+
The <b>lib/samples</b> directory contains the Flutter widget examples for each widget such as Charts, DataGrid, etc. All the examples can be deployed in Android, Web, Windows, iOS, Mac, and Linux platforms.
2727

2828
## <a name="widgets-catalog"></a>Widgets Catalog ##
2929

@@ -51,7 +51,7 @@ The <b>lib/samples</b> directory contains the Flutter widget examples for each w
5151

5252
## <a name="license"></a>License ##
5353

54-
Syncfusion has no liability for any damage or consequence that may arise by the use or viewing of the examples. The examples are for demonstrative purposes and if you choose to use or access the examples you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, accessing or otherwise viewing the examples. By accessing, viewing, or otherwise seeing the examples you acknowledge and agree Syncfusion’s examples will not allow you to seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize or otherwise do anything with Syncfusion’s examples.
54+
Syncfusion<sup>&reg;</sup> has no liability for any damage or consequence that may arise by the use or viewing of the examples. The examples are for demonstrative purposes and if you choose to use or access the examples you agree to not hold Syncfusion<sup>&reg;</sup> liable, in any form, for any damage that is related to use, accessing or otherwise viewing the examples. By accessing, viewing, or otherwise seeing the examples you acknowledge and agree Syncfusion<sup>&reg;</sup> examples will not allow you to seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize or otherwise do anything with Syncfusion<sup>&reg;</sup> examples.
5555

5656
## <a name="using-the-examples"></a>Using the examples ##
5757

@@ -120,22 +120,21 @@ Explore the full capabilities of our Flutter widgets on your device by installin
120120

121121

122122
## Useful links
123-
Take a look at the following to learn more about Syncfusion Flutter widgets:
123+
Take a look at the following to learn more about Syncfusion<sup>&reg;</sup> Flutter widgets:
124124

125-
* [Syncfusion Flutter product page](https://www.syncfusion.com/flutter-widgets)
125+
* [Syncfusion<sup>&reg;</sup> Flutter product page](https://www.syncfusion.com/flutter-widgets)
126126
* [User guide documentation](https://help.syncfusion.com/flutter/introduction/overview)
127127
* [API reference](https://help.syncfusion.com/flutter/introduction/api-reference)
128128
* [Knowledge base](https://www.syncfusion.com/kb/flutter)
129129
* [Video tutorials](https://www.syncfusion.com/tutorial-videos/flutter)
130130

131131
## Support and feedback
132132

133-
* For any other queries, reach our [Syncfusion support team](https://www.syncfusion.com/support/directtrac/incidents/newincident) or post the queries through the [Community forums](https://www.syncfusion.com/forums) and submit a feature request or a bug through our [Feedback portal](https://www.syncfusion.com/feedback/flutter).
133+
* For any other queries, reach our [Syncfusion<sup>&reg;</sup> support team](https://www.syncfusion.com/support/directtrac/incidents/newincident) or post the queries through the [Community forums](https://www.syncfusion.com/forums) and submit a feature request or a bug through our [Feedback portal](https://www.syncfusion.com/feedback/flutter).
134134
* To renew the subscription, click [renew](https://www.syncfusion.com/sales/products) or contact our sales team at [email protected] | Toll Free: 1-888-9 DOTNET.
135135

136-
## About Syncfusion
136+
## About Syncfusion<sup>&reg;</sup>
137137

138-
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 20,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
139-
140-
Today we provide 1,000+ controls and frameworks for web ([ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls), [ASP.NET WebForms](https://www.syncfusion.com/jquery/aspnet-web-forms-ui-controls), [JavaScript](https://www.syncfusion.com/javascript-ui-controls), [Angular](https://www.syncfusion.com/angular-ui-components), [React](https://www.syncfusion.com/react-ui-components), [Vue](https://www.syncfusion.com/vue-ui-components), and [Blazor](https://www.syncfusion.com/blazor-components), mobile ([Xamarin](https://www.syncfusion.com/xamarin-ui-controls), [Flutter](https://www.syncfusion.com/flutter-widgets), [UWP](https://www.syncfusion.com/uwp-ui-controls), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls), [WPF](https://www.syncfusion.com/wpf-ui-controls), and [UWP](https://www.syncfusion.com/uwp-ui-controls) and [WinUI](https://www.syncfusion.com/winui-controls)). We provide ready-to deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
138+
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion<sup>&reg;</sup> has more than 20,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
141139

140+
Today we provide 1,000+ controls and frameworks for web ([ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls), [ASP.NET WebForms](https://www.syncfusion.com/jquery/aspnet-web-forms-ui-controls), [JavaScript](https://www.syncfusion.com/javascript-ui-controls), [Angular](https://www.syncfusion.com/angular-ui-components), [React](https://www.syncfusion.com/react-ui-components), [Vue](https://www.syncfusion.com/vue-ui-components), and [Blazor](https://www.syncfusion.com/blazor-components)), mobile ([Xamarin](https://www.syncfusion.com/xamarin-ui-controls), [Flutter](https://www.syncfusion.com/flutter-widgets), [UWP](https://www.syncfusion.com/uwp-ui-controls), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls), [WPF](https://www.syncfusion.com/wpf-ui-controls), and [UWP](https://www.syncfusion.com/uwp-ui-controls) and [WinUI](https://www.syncfusion.com/winui-controls)). We provide ready-to deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

lib/model/helper.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ Widget buildFooter(BuildContext context, SampleModel model) {
979979
Container(
980980
padding: const EdgeInsets.only(top: 10),
981981
child: Text(
982-
'Copyright © 2001 - 2024 Syncfusion Inc.',
982+
'Copyright © 2001 - 2024 Syncfusion<sup>&reg;</sup> Inc.',
983983
style: TextStyle(
984984
color: model.themeData.colorScheme.onSurfaceVariant,
985985
fontSize: 12,

lib/model/model.dart

+11-9
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,11 @@ class SampleModel extends Listenable {
525525
_updateMaterial2Colors(currentThemeData);
526526
}
527527

528-
hoverColor = currentThemeData.colorScheme.onSurface.withOpacity(0.08);
529-
focusedColor = currentThemeData.colorScheme.onSurface.withOpacity(0.12);
530-
splashColor = currentThemeData.colorScheme.onSurface.withOpacity(0.15);
528+
hoverColor = currentThemeData.colorScheme.onSurface.withValues(alpha: 0.08);
529+
focusedColor =
530+
currentThemeData.colorScheme.onSurface.withValues(alpha: 0.12);
531+
splashColor =
532+
currentThemeData.colorScheme.onSurface.withValues(alpha: 0.15);
531533
}
532534

533535
void _updateMaterial2Colors(ThemeData currentThemeData) {
@@ -577,9 +579,9 @@ class SampleModel extends Listenable {
577579
switch (currentThemeData.brightness) {
578580
case Brightness.light:
579581
final Color primaryColor = Color.alphaBlend(
580-
Colors.white.withOpacity(0.9),
582+
Colors.white.withValues(alpha: 0.9),
581583
currentThemeData.colorScheme.primary);
582-
backgroundColor = Color.alphaBlend(Colors.white.withOpacity(0.95),
584+
backgroundColor = Color.alphaBlend(Colors.white.withValues(alpha: 0.95),
583585
currentThemeData.colorScheme.primary);
584586
homeCardColor = primaryColor;
585587
sampleOutputCardColor = const Color(0xFFFFFBFE);
@@ -589,7 +591,7 @@ class SampleModel extends Listenable {
589591
subSamplesTabBarColor = primaryColor;
590592
drawerTextIconColor = currentThemeData.colorScheme.onSurface;
591593
drawerBackgroundColor = const Color(0xFFFFFBFE);
592-
footerColor = Color.alphaBlend(Colors.white.withOpacity(0.85),
594+
footerColor = Color.alphaBlend(Colors.white.withValues(alpha: 0.85),
593595
currentThemeData.colorScheme.primary);
594596

595597
// baseNavigationBarTextColor = currentThemeData.colorScheme.surface;
@@ -600,9 +602,9 @@ class SampleModel extends Listenable {
600602

601603
case Brightness.dark:
602604
final Color primaryColor = Color.alphaBlend(
603-
Colors.black.withOpacity(0.85),
605+
Colors.black.withValues(alpha: 0.85),
604606
currentThemeData.colorScheme.primary);
605-
backgroundColor = Color.alphaBlend(Colors.black.withOpacity(0.9),
607+
backgroundColor = Color.alphaBlend(Colors.black.withValues(alpha: 0.9),
606608
currentThemeData.colorScheme.primary);
607609
homeCardColor = primaryColor;
608610
sampleOutputCardColor = const Color(0xFF1C1B1F);
@@ -612,7 +614,7 @@ class SampleModel extends Listenable {
612614
subSamplesTabBarColor = primaryColor;
613615
drawerTextIconColor = currentThemeData.colorScheme.onSurface;
614616
drawerBackgroundColor = const Color(0xFF1C1B1F);
615-
footerColor = Color.alphaBlend(Colors.black.withOpacity(0.8),
617+
footerColor = Color.alphaBlend(Colors.black.withValues(alpha: 0.8),
616618
currentThemeData.colorScheme.primary);
617619

618620
// baseNavigationBarTextColor =

lib/model/sample_view.dart

+3-2
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,9 @@ class ProgressBarColor {
344344
final SampleModel model;
345345

346346
/// Get the pointer color based on the theme.
347-
Color? get pointerColor =>
348-
model.themeData.useMaterial3 ? model.primaryColor.withOpacity(0.8) : null;
347+
Color? get pointerColor => model.themeData.useMaterial3
348+
? model.primaryColor.withValues(alpha: 0.8)
349+
: null;
349350

350351
/// Get the axis line color based on the theme.
351352
Color get axisLineColor => model.themeData.useMaterial3

0 commit comments

Comments
 (0)