Skip to content

Commit 06d10dc

Browse files
Updated flutter widgets repository with latest release source.
1 parent f61b8c0 commit 06d10dc

File tree

3,181 files changed

+585630
-0
lines changed

Some content is hidden

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

3,181 files changed

+585630
-0
lines changed
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
## [18.3.35] - 10/01/2020
2+
3+
No changes.
4+
5+
## [18.2.59-beta] - 09/23/2020
6+
7+
No changes.
8+
9+
## [18.2.57-beta] - 09/08/2020
10+
11+
No changes.
12+
13+
## [18.2.56-beta] - 09/01/2020
14+
15+
No changes.
16+
17+
## [18.2.55-beta] - 08/25/2020
18+
19+
No changes.
20+
21+
## [18.2.54-beta] - 08/18/2020
22+
23+
No changes.
24+
25+
## [18.2.48-beta] - 08/04/2020
26+
27+
No changes.
28+
29+
## [18.2.47-beta] - 07/28/2020
30+
31+
No changes.
32+
33+
## [18.2.46-beta] - 07/21/2020
34+
35+
No changes.
36+
37+
## [18.2.45-beta] - 07/14/2020
38+
39+
No changes.
40+
41+
## [18.2.44-beta] - 07/07/2020
42+
43+
No changes.
44+
45+
## [18.1.59-beta] - 06/23/2020
46+
47+
No changes.
48+
49+
## [18.1.56-beta] - 06/10/2020
50+
51+
No changes.
52+
53+
## [18.1.55-beta] - 06/03/2020
54+
55+
No changes.
56+
57+
## [18.1.54-beta] - 05/26/2020
58+
59+
No changes.
60+
61+
## [18.1.53-beta] - 05/19/2020
62+
63+
No changes.
64+
65+
## [18.1.52-beta] - 05/14/2020
66+
67+
No changes.
68+
69+
## [18.1.48-beta] - 05/05/2020
70+
71+
No changes.
72+
73+
## [18.1.46-beta] - 04/28/2020
74+
75+
No changes.
76+
77+
## [18.1.45-beta] - 04/21/2020
78+
79+
No changes.
80+
81+
## [18.1.44-beta] - 04/14/2020
82+
83+
No changes.
84+
85+
## [18.1.43-beta] - 04/07/2020
86+
87+
No changes.
88+
89+
## [18.1.42-beta] - 04/01/2020
90+
91+
No changes.
92+
93+
## [18.1.36-beta] - 03/19/2020
94+
95+
Initial release.
96+
97+
**Features**
98+
99+
* **One-dimensional barcodes** - Barcode Generator supports different one-dimensional barcode symbologies such as Code128, EAN8, EAN13, UPA-C, UPA-E, Code39, Code39 Extended, Code93 and Codabar.
100+
* **Two-dimensional barcode** - Barcode Generator supports popular QR Code and Data Matrix.
101+
* **Barcode customization** - Customize the visual appearance of barcodes using the backgroundColor and barColor properties, and adjust the size of smallest line or dot of the code using the module property.
102+
* **Text customization** -Configure to display the barcode value and customize the position and style of the barcode text.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Syncfusion License
2+
3+
Syncfusion Flutter Barcodes package is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
4+
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.
6+
7+
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
8+
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.
10+
11+
The Syncfusion license that contains the terms and conditions can be found at
12+
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
![syncfusion_flutter_barcode_banner](https://cdn.syncfusion.com/content/images/FTControl/Flutter/Barcode%20Banner.png)
2+
3+
# Flutter Barcodes library
4+
5+
Flutter Barcode Generator package is a data visualization widget used to generate and display data in a machine-readable format. It provides a perfect approach to encoding input values using supported symbology types.
6+
7+
**Disclaimer:** This is a commercial package. To use this package, you need to have either a Syncfusion commercial license or [Free Syncfusion Community license](https://www.syncfusion.com/products/communitylicense). For more details, please check the [LICENSE](https://github.com/syncfusion/flutter-examples/blob/master/LICENSE) file.
8+
9+
## Table of contents
10+
- [Barcode Generator feature](#barcode-generator-feature)
11+
- [Get demo application](#get-demo-application)
12+
- [Useful links](#other-useful-links)
13+
- [Installation](#installation)
14+
- [Getting started](#getting-started)
15+
- [Add Barcode Generator to the widget tree](#add-barcode-generator-to-the-widget-tree)
16+
- [Add barcode symbology](#add-barcode-symbology)
17+
- [Show value to the barcode](#show-value-to-the-barcode)
18+
- [Support and feedback](#support-and-feedback)
19+
- [About Syncfusion](#about-syncfusion)
20+
21+
## Barcode Generator features
22+
23+
* **One-dimensional barcodes** - Barcode Generator supports different one-dimensional barcode symbologies such as Code128, EAN8, EAN13, UPA-C, UPA-E, Code39, Code39 Extended, Code93 and Codabar.
24+
![One-dimensional barcodes](https://cdn.syncfusion.com/content/images/FTControl/Flutter/Barcode.png)
25+
26+
* **Two-dimensional barcode** - Barcode Generator supports popular QR Code and Data Matrix.
27+
![Two-dimensional barcode](https://cdn.syncfusion.com/content/images/FTControl/Flutter/2DBarcode.png)
28+
29+
* **Barcode customization** - Customize the visual appearance of barcodes using the backgroundColor and barColor properties, and adjust the size of smallest line or dot of the code using the module property.
30+
31+
* **Text customization** -Configure to display the barcode value and customize the position and style of the barcode text.
32+
33+
## Get demo application
34+
35+
Explore the full capabilities of our Flutter widgets on your device by installing our sample browser applications from the following app stores and view samples code in GitHub.
36+
37+
<p align="center">
38+
<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.png"/></a>
39+
<a href="https://apps.apple.com/us/app/syncfusion-flutter-ui-widgets/id1475231341"><img src="https://cdn.syncfusion.com/content/images/FTControl/apple-button.png"/></a>
40+
</p>
41+
<p align="center">
42+
<a href="https://github.com/syncfusion/flutter-examples"><img src="https://cdn.syncfusion.com/content/images/FTControl/GitHub.png"/></a>
43+
<a href="https://flutter.syncfusion.com"><img src="https://cdn.syncfusion.com/content/images/FTControl/web_sample_browser.png"/></a>
44+
</p>
45+
46+
## Other useful links
47+
Take a look at the following to learn more about Syncfusion Flutter guages:
48+
49+
* [Syncfusion Flutter Barcode product page](https://www.syncfusion.com/flutter-widgets)
50+
* [User guide documentation](https://help.syncfusion.com/flutter/introduction/overview)
51+
* [Knowledge base](https://www.syncfusion.com/kb)
52+
53+
## Installation
54+
55+
Install the latest version from [pub](https://pub.dartlang.org/packages/syncfusion_flutter_barcodes#-installing-tab-).
56+
57+
## Getting started
58+
59+
Import the following package.
60+
61+
```dart
62+
import 'package:syncfusion_flutter_barcodes/barcodes.dart';
63+
```
64+
### Add Barcode Generator to the widget tree
65+
66+
Add the Barcode Generator widget as a child of any widget. Here, the widget is added as a child of the container widget and the height to the container is specified (otherwise it will take full container height)
67+
68+
```dart
69+
@override
70+
Widget build(BuildContext context) {
71+
return MaterialApp(
72+
home: Scaffold(
73+
body: Center(
74+
child: Container(
75+
height: 200,
76+
child: SfBarcodeGenerator(value: 'www.syncfusion.com'),
77+
))),
78+
);
79+
}
80+
```
81+
## Add barcode symbology
82+
83+
Set the required symbology type to the barcode generator based on input value by initializing the **symbology** property. In the following code snippet, the QR code is set as the barcode symbology.
84+
85+
```dart
86+
@override
87+
Widget build(BuildContext context) {
88+
return MaterialApp(
89+
home: Scaffold(
90+
body: Center(
91+
child: Container(
92+
height: 200,
93+
child: SfBarcodeGenerator(
94+
value: 'www.syncfusion.com',
95+
symbology: QRCode(),
96+
),
97+
))),
98+
);
99+
}
100+
```
101+
## Show value of the barcode
102+
103+
input values can be displayed by enabling the **showValue** property of barcodes.
104+
105+
```dart
106+
@override
107+
@override
108+
Widget build(BuildContext context) {
109+
return MaterialApp(
110+
home: Scaffold(
111+
body: Center(
112+
child: Container(
113+
height: 200,
114+
child: SfBarcodeGenerator(
115+
value: 'www.syncfusion.com',
116+
symbology: QRCode(),
117+
showValue: true,
118+
),
119+
))),
120+
);
121+
}
122+
```
123+
124+
The following screenshot illustrates the result of the previous code sample.
125+
126+
![simple radial gauge](https://cdn.syncfusion.com/content/images/FTControl/Flutter/QR%20Code.png)
127+
128+
### Support and feedback
129+
130+
* 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).
131+
* To renew the subscription, click [renew](https://www.syncfusion.com/sales/products) or contact our sales team at sales@syncfusion.com | Toll Free: 1-888-9 DOTNET.
132+
133+
### About Syncfusion
134+
135+
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.
136+
137+
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), [.NET MAUI](https://www.syncfusion.com/maui-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), [UWP](https://www.syncfusion.com/uwp-ui-controls), [.NET MAUI](https://www.syncfusion.com/maui-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.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include: package:syncfusion_flutter_core/analysis_options.yaml
2+
3+
analyzer:
4+
errors:
5+
include_file_not_found: ignore
6+
lines_longer_than_80_chars: ignore
7+
avoid_as: false
8+
use_raw_strings: ignore
9+
unnecessary_null_checks: ignore
10+
noop_primitive_operations: ignore
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Barcode example
2+
3+
How to render Syncfusion Flutter Barcode generator widget?
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
analyzer:
2+
errors:
3+
invalid_dependency: ignore
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
def localProperties = new Properties()
2+
def localPropertiesFile = rootProject.file('local.properties')
3+
if (localPropertiesFile.exists()) {
4+
localPropertiesFile.withReader('UTF-8') { reader ->
5+
localProperties.load(reader)
6+
}
7+
}
8+
9+
def flutterRoot = localProperties.getProperty('flutter.sdk')
10+
if (flutterRoot == null) {
11+
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12+
}
13+
14+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15+
if (flutterVersionCode == null) {
16+
flutterVersionCode = '1'
17+
}
18+
19+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
20+
if (flutterVersionName == null) {
21+
flutterVersionName = '1.0'
22+
}
23+
24+
apply plugin: 'com.android.application'
25+
apply plugin: 'kotlin-android'
26+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27+
28+
android {
29+
compileSdkVersion 28
30+
31+
sourceSets {
32+
main.java.srcDirs += 'src/main/kotlin'
33+
}
34+
35+
lintOptions {
36+
disable 'InvalidPackage'
37+
}
38+
39+
defaultConfig {
40+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41+
applicationId "com.example.example"
42+
minSdkVersion 16
43+
targetSdkVersion 28
44+
versionCode flutterVersionCode.toInteger()
45+
versionName flutterVersionName
46+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
47+
}
48+
49+
buildTypes {
50+
release {
51+
// TODO: Add your own signing config for the release build.
52+
// Signing with the debug keys for now, so `flutter run --release` works.
53+
signingConfig signingConfigs.debug
54+
}
55+
}
56+
}
57+
58+
flutter {
59+
source '../..'
60+
}
61+
62+
dependencies {
63+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64+
testImplementation 'junit:junit:4.12'
65+
androidTestImplementation 'androidx.test:runner:1.1.1'
66+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
67+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.example">
3+
<!-- Flutter needs it to communicate with the running application
4+
to allow setting breakpoints, to provide hot reload, etc.
5+
-->
6+
<uses-permission android:name="android.permission.INTERNET"/>
7+
</manifest>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.example">
3+
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
4+
calls FlutterMain.startInitialization(this); in its onCreate method.
5+
In most cases you can leave this as-is, but you if you want to provide
6+
additional functionality it is fine to subclass or reimplement
7+
FlutterApplication and put your custom class here. -->
8+
<application
9+
android:name="io.flutter.app.FlutterApplication"
10+
android:label="example"
11+
android:icon="@mipmap/ic_launcher">
12+
<activity
13+
android:name=".MainActivity"
14+
android:launchMode="singleTop"
15+
android:theme="@style/LaunchTheme"
16+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
17+
android:hardwareAccelerated="true"
18+
android:windowSoftInputMode="adjustResize">
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN"/>
21+
<category android:name="android.intent.category.LAUNCHER"/>
22+
</intent-filter>
23+
</activity>
24+
<!-- Don't delete the meta-data below.
25+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
26+
<meta-data
27+
android:name="flutterEmbedding"
28+
android:value="2" />
29+
</application>
30+
</manifest>

0 commit comments

Comments
 (0)