Skip to content

Commit d2f5f7c

Browse files
author
Dharanitharan Palanisamy
committed
updated samples
1 parent 2877ec8 commit d2f5f7c

File tree

172 files changed

+7886
-35284
lines changed

Some content is hidden

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

172 files changed

+7886
-35284
lines changed

LICENSE

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

README.md

Lines changed: 10 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,16 @@
1-
# Syncfusion Flutter Examples
1+
# flutter_examples
22

3-
This repository contains the demos of Syncfusion Flutter UI widgets. This is the best place to check our widgets to get more insight about the usage of APIs. You can also check our widgets by installing the [sample browser application](https://play.google.com/store/apps/details?id=com.syncfusion.flutter.examples&hl=en) from Google Play Store, in which you can browse the demos for all the available widgets and view the source code of each example within the app itself.
3+
This project contains the Syncfusion Flutter UI widgets examples.
44

5-
![showcase_image](https://cdn.syncfusion.com/content/images/FTControl/screen2.png)
5+
## Getting Started
66

7-
This section guides you how to use the Syncfusion Flutter examples in your applications.
7+
This project is a starting point for a Flutter application.
88

9-
## Table of contents
9+
A few resources to get you started if this is your first Flutter project:
1010

11-
* [Requirements to run the demo](#requirements-to-run-the-demo)
12-
* [Repository structure](#repository-structure)
13-
* [Using the samples](#using-the-samples)
14-
* [Support and feedback](#support-and-feedback)
15-
* [Screenshots](#screenshots)
16-
* [Disclaimer](#disclaimer)
17-
* [About Syncfusion](#about-syncfusion)
18-
19-
## <a name="requirements-to-run-the-demo"></a>Requirements to run the demo ##
20-
21-
* [Flutter SDK](https://flutter.dev/docs/get-started/install/windows)
22-
* [Android studio](https://developer.android.com/studio/install) or [Visual studio code](https://code.visualstudio.com/download)
23-
* Install Flutter extension in Android studio or in [VS code](https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter)
24-
25-
## <a name="repository-structure"></a>Repository structure ##
26-
27-
This repository contains sample browser project. Each widgets sample will be found inside the lib/samples folder. Run this project to see the demo samples of all the Flutter widgets in single application.
28-
29-
## <a name="using-the-samples"></a>Using the samples ##
30-
31-
* Download or clone the files in repository.
32-
* Get the required packages referred in the project.
33-
34-
## <a name="support-and-feedback"></a>Support and Feedback ##
35-
36-
* For any other queries, reach our [Syncfusion support team](https://www.syncfusion.com/support/directtrac/incidents/newincident?utm_source=github&utm_medium=flutter_widgets) or post the queries through the [Community forums](https://www.syncfusion.com/forums?utm_source=github&utm_medium=flutter_widgets) and submit a feature request or a bug through our [Feedback portal](https://www.syncfusion.com/feedback/flutter).
37-
* To renew the subscription, click [renew](https://www.syncfusion.com/sales/products?utm_source=github&utm_medium=flutter_widgets) or contact our sales team at <salessupport@syncfusion.com>.
38-
39-
## <a name='screenshots'></a>Screenshots ##
40-
41-
### Chart types
42-
<p align="center">
43-
<img src="https://cdn.syncfusion.com/content/images/FTControl/chartTypes.png" alt="Chart Types"/>
44-
</p>
45-
46-
### Axis types
47-
<p align="center">
48-
<img src="https://cdn.syncfusion.com/content/images/FTControl/axisTypes.png" alt="Axis Types"/>
49-
</p>
50-
51-
### User interactions
52-
<p align="center">
53-
<img src="https://cdn.syncfusion.com/content/images/FTControl/userInteraction.gif" alt="User Interaction"/>
54-
</p>
55-
56-
## <a name="disclaimer"></a>Disclaimer ##
57-
58-
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.
59-
60-
## <a name="about-syncfusion"></a>About Syncfusion ##
61-
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.
62-
63-
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/products/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.
11+
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
6413

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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

android/app/src/main/java/com/syncfusion/flutter/flutter_examples/MainActivity.java

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

android/gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
org.gradle.jvmargs=-Xmx1536M
22

3+
android.enableR8=true
4+
5+
android.useAndroidX=true
6+
android.enableJetifier=true

android/local.properties

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
sdk.dir=/Users/ashwink/Library/Android/sdk
2-
flutter.sdk=/Users/ashwink/Documents/FlutterSDK/flutter
1+
sdk.dir=C:\\Users\\DharanitharanPalanis\\AppData\\Local\\Android\\sdk
2+
flutter.sdk=C:\\src\\flutter
33
flutter.buildMode=debug
4-
flutter.versionName=1.0.0
5-
flutter.versionCode=1
4+
flutter.versionName=17.4.39

images/image_nav_banner_white.png

-30.3 KB
Binary file not shown.

ios/Runner/GeneratedPluginRegistrant.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77

88
#import <Flutter/Flutter.h>
99

10+
NS_ASSUME_NONNULL_BEGIN
11+
1012
@interface GeneratedPluginRegistrant : NSObject
1113
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
1214
@end
1315

16+
NS_ASSUME_NONNULL_END
1417
#endif /* GeneratedPluginRegistrant_h */

ios/Runner/GeneratedPluginRegistrant.m

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@
33
//
44

55
#import "GeneratedPluginRegistrant.h"
6-
#import <url_launcher/UrlLauncherPlugin.h>
6+
7+
#if __has_include(<url_launcher/FLTURLLauncherPlugin.h>)
8+
#import <url_launcher/FLTURLLauncherPlugin.h>
9+
#else
10+
@import url_launcher;
11+
#endif
712

813
@implementation GeneratedPluginRegistrant
914

1015
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
11-
[FLTUrlLauncherPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTUrlLauncherPlugin"]];
16+
[FLTURLLauncherPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTURLLauncherPlugin"]];
1217
}
1318

1419
@end

lib/main.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import 'package:flutter/material.dart';
2+
import 'package:flutter_examples/model/model.dart';
23
import 'package:flutter_examples/sample_browser.dart';
34
import 'package:syncfusion_flutter_core/core.dart';
45

5-
void main() {
6+
Future<void> main() async {
7+
WidgetsFlutterBinding.ensureInitialized();
8+
await updateControl();
9+
// Register your license here
610
SyncfusionLicense.registerLicense(null);
7-
return runApp(SampleBrowser());
11+
runApp(SampleBrowser());
812
}

0 commit comments

Comments
 (0)