Skip to content

Commit 5ebe201

Browse files
Merge pull request #383 from Yuvaraj-Gajaraj/master
Updated the files for 2021 Volume 2 release
2 parents bacdce9 + 35d52be commit 5ebe201

File tree

208 files changed

+9100
-3391
lines changed

Some content is hidden

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

208 files changed

+9100
-3391
lines changed

README.md

Lines changed: 110 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,116 @@
1-
# flutter_examples
1+
# Syncfusion Flutter examples
22

3-
This project contains the Syncfusion Flutter UI widgets examples.
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.
44

5-
## Getting Started
5+
<img src="images/flutter_examples.png"/>
66

7-
This project is a starting point for a Flutter application.
7+
## Table of contents
88

9-
A few resources to get you started if this is your first Flutter project:
9+
* [Requirements to run the demo](#requirements-to-run-the-demo)
10+
* [Repository Structure](#repository-structure)
11+
* [Widgets Catalog](#widgets-catalog)
12+
* [License](#license)
13+
* [Using the examples](#using-the-examples)
14+
* [Support and Feedback](#support-and-feedback)
1015

11-
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
16+
## <a name="requirements-to-run-the-demo"></a>Requirements to run the demo ##
17+
* IDE tools are [Visual Studio code](https://flutter.dev/docs/get-started/editor?tab=vscode) and [Android studio](https://flutter.dev/docs/get-started/editor?tab=androidstudio).
18+
* Flutter SDK
19+
| Channel| Version|
20+
|--------|--------|
21+
| Stable | [2.0.2](https://code.visualstudio.com/download)|
22+
| Beta | [2.0.2](https://storage.googleapis.com/flutter_infra/releases/beta/windows/flutter_windows_2.0.2-beta.zip)|
23+
* Dart and Flutter add-ons for Visual Studio Code (available via the Visual studio code extension) in Android Studio it available in plugin preference.
1324

14-
For help getting started with Flutter, view our
15-
[online documentation](https://flutter.dev/docs), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
25+
## <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, iOS, and web platforms.
27+
28+
## <a name="widgets-catalog"></a>Widgets Catalog ##
29+
30+
| Widgets | Repository |
31+
| ------------- | --------------- |
32+
| Barcode Generator | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/barcodes) |
33+
| Calendar | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/calendar) |
34+
| Charts | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/chart) |
35+
| DataGrid | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/datagrid) |
36+
| Date Range Picker | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/date_picker) |
37+
| Linear Gauge | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/linear_gauge) |
38+
| Maps | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/maps) |
39+
| PDF | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/pdf) |
40+
| PDF Viewer | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/pdf_viewer) |
41+
| Progress Bar | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/progress_bar) |
42+
| Radial Gauge | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/gauge) |
43+
| Range Selector | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/sliders/range_selector) |
44+
| Range Slider | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/sliders/range_slider) |
45+
| Slider | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/sliders/slider) |
46+
| Spark Charts | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/sparkline) |
47+
| Signature Pad | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/signature_pad) |
48+
| Treemap | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/treemap) |
49+
| XlsIO | [Link](https://github.com/syncfusion/flutter-examples/tree/master/lib/samples/xlsio) |
50+
51+
## <a name="license"></a>License ##
52+
53+
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+
55+
## <a name="using-the-examples"></a>Using the examples ##
56+
57+
**Step 1**
58+
59+
Unzip the downloaded flutter example archive.
60+
61+
**Note:** If you clone this repository ignore this step.
62+
63+
**Step 2**
64+
65+
Open the flutter example folder in an IDE.
66+
67+
**Step 3**
68+
69+
Run the following command to get the required packages.
70+
71+
```dart
72+
$ flutter pub get
73+
```
74+
75+
**Step 4**
76+
77+
Run your application either using `F5` or `Run > Start Debugging`.
78+
79+
## Get the demo application
80+
81+
Explore the full capabilities of our Flutter widgets on your device by installing our sample browser applications from the below app stores, and view samples code in GitHub.
82+
83+
<p align="center">
84+
<a href="https://play.google.com/store/apps/details?id=com.syncfusion.flutter.examples"><img src="https://cdn.syncfusion.com/content/images/FTControl/google-play-store.png"/></a>
85+
<a href="https://apps.apple.com/us/app/syncfusion-flutter-ui-widgets/id1475231341"><img src="https://cdn.syncfusion.com/content/images/FTControl/ios-store.png"/></a>
86+
<a href="https://flutter.syncfusion.com"><img src="https://cdn.syncfusion.com/content/images/FTControl/web-sample-browser.png"/></a>
87+
</p>
88+
<p align="center">
89+
<a href="https://www.microsoft.com/en-us/p/syncfusion-flutter-gallery/9nhnbwcsf85d?activetab=pivot:overviewtab"><img src="https://cdn.syncfusion.com/content/images/FTControl/windows-store.png"/></a>
90+
<a href="https://install.appcenter.ms/orgs/syncfusion-demos/apps/syncfusion-flutter-gallery/distribution_groups/release"><img src="https://cdn.syncfusion.com/content/images/FTControl/macos-app-center.png"/></a>
91+
<a href="https://snapcraft.io/syncfusion-flutter-gallery"><img src="https://cdn.syncfusion.com/content/images/FTControl/snap-store.png"/></a>
92+
</p>
93+
<p align="center">
94+
<a href="https://github.com/syncfusion/flutter-examples"><img src="https://cdn.syncfusion.com/content/images/FTControl/github-samples.png"/></a>
95+
</p>
96+
97+
98+
## Useful links
99+
Take a look at the following to learn more about Syncfusion Flutter widgets:
100+
101+
* [Syncfusion Flutter product page](https://www.syncfusion.com/flutter-widgets)
102+
* [User guide documentation](https://help.syncfusion.com/flutter/introduction/overview)
103+
* [API reference](https://help.syncfusion.com/flutter/introduction/api-reference)
104+
* [Knowledge base](https://www.syncfusion.com/kb/flutter)
105+
* [Video tutorials](https://www.syncfusion.com/tutorial-videos/flutter)
106+
107+
## Support and feedback
108+
109+
* 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).
110+
* 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.
111+
112+
## About Syncfusion
113+
114+
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.
115+
116+
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)). 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.
Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
package io.flutter.plugins;
22

3-
import androidx.annotation.Keep;
4-
import androidx.annotation.NonNull;
5-
6-
import io.flutter.embedding.engine.FlutterEngine;
3+
import io.flutter.plugin.common.PluginRegistry;
4+
import io.flutter.plugins.pathprovider.PathProviderPlugin;
5+
import io.flutter.plugins.urllauncher.UrlLauncherPlugin;
76

87
/**
98
* Generated file. Do not edit.
10-
* This file is generated by the Flutter tool based on the
11-
* plugins that support the Android platform.
129
*/
13-
@Keep
1410
public final class GeneratedPluginRegistrant {
15-
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
16-
flutterEngine.getPlugins().add(new io.flutter.plugins.pathprovider.PathProviderPlugin());
17-
flutterEngine.getPlugins().add(new com.syncfusion.flutter.pdfviewer.SyncfusionFlutterPdfViewerPlugin());
18-
flutterEngine.getPlugins().add(new io.flutter.plugins.urllauncher.UrlLauncherPlugin());
11+
public static void registerWith(PluginRegistry registry) {
12+
if (alreadyRegisteredWith(registry)) {
13+
return;
14+
}
15+
PathProviderPlugin.registerWith(registry.registrarFor("io.flutter.plugins.pathprovider.PathProviderPlugin"));
16+
UrlLauncherPlugin.registerWith(registry.registrarFor("io.flutter.plugins.urllauncher.UrlLauncherPlugin"));
17+
}
18+
19+
private static boolean alreadyRegisteredWith(PluginRegistry registry) {
20+
final String key = GeneratedPluginRegistrant.class.getCanonicalName();
21+
if (registry.hasPlugin(key)) {
22+
return true;
23+
}
24+
registry.registrarFor(key);
25+
return false;
1926
}
2027
}

android/local.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sdk.dir=C:\\Users\\DharanitharanPalanis\\AppData\\Local\\Android\\sdk
1+
sdk.dir=C:\\Users\\SriramKiranSenthilku\\AppData\\Local\\Android\\sdk
22
flutter.sdk=C:\\src\\flutter
33
flutter.buildMode=debug
44
flutter.versionName=18.1.42

assets/pdf/export_template.pdf

64.4 KB
Binary file not shown.

assets/pdf/import_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"dob":"05/01/1992","name":"John","email":"[email protected]","gender":"Male","state":"Georgia","newsletter":"On"}

assets/pdf/import_data.xfdf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
3+
<fields>
4+
<field name="dob">
5+
<value>05/01/1992</value>
6+
</field>
7+
<field name="name">
8+
<value>John</value>
9+
</field>
10+
<field name="email">
11+
<value>[email protected]</value>
12+
</field>
13+
<field name="gender">
14+
<value>Male</value>
15+
</field>
16+
<field name="state">
17+
<value>Georgia</value>
18+
</field>
19+
<field name="newsletter">
20+
<value>On</value>
21+
</field>
22+
</fields>
23+
<f href=""/>
24+
</xfdf>

assets/pdf/import_data.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Fields>
3+
<dob>05/01/1992</dob>
4+
<name>John</name>
5+
<email>[email protected]</email>
6+
<gender>Male</gender>
7+
<state>Georgia</state>
8+
<newsletter>On</newsletter>
9+
</Fields>

images/code.png

-1.48 KB
Binary file not shown.

images/flutter_examples.png

107 KB
Loading

images/treemap_ascending_dark.png

438 Bytes
Loading

0 commit comments

Comments
 (0)