-
Notifications
You must be signed in to change notification settings - Fork 803
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e45ca8e
commit f1a5c6e
Showing
1,788 changed files
with
314,943 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
## [18.3.35-beta] - 10/01/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.59-beta] - 09/23/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.57-beta] - 09/08/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.56-beta] - 09/01/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.55-beta] - 08/25/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.54-beta] - 08/18/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.48-beta] - 08/04/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.47-beta] - 07/28/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.46-beta] - 07/21/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.45-beta] - 07/14/2020 | ||
|
||
No changes. | ||
|
||
## [18.2.44-beta] - 07/07/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.59-beta] - 06/23/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.56-beta] - 06/10/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.55-beta] - 06/03/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.54-beta] - 05/26/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.53-beta] - 05/19/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.52-beta] - 05/14/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.48-beta] - 05/05/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.46-beta] - 04/28/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.45-beta] - 04/21/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.44-beta] - 04/14/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.43-beta] - 04/07/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.42-beta] - 04/01/2020 | ||
|
||
No changes. | ||
|
||
## [18.1.36-beta] - 03/19/2020 | ||
|
||
Initial release. | ||
|
||
**Features** | ||
|
||
* **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. | ||
* **Two-dimensional barcode** - Barcode Generator supports popular QR Code and Data Matrix. | ||
* **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. | ||
* **Text customization** -Configure to display the barcode value and customize the position and style of the barcode text. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Syncfusion License | ||
|
||
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. | ||
|
||
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. | ||
|
||
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options. | ||
|
||
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. | ||
|
||
The Syncfusion license that contains the terms and conditions can be found at | ||
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
![syncfusion_flutter_barcode_banner](https://cdn.syncfusion.com/content/images/FTControl/Flutter/Barcode%20Banner.png) | ||
|
||
# Syncfusion Flutter Barcodes | ||
|
||
The Syncfusion Flutter Barcode Generator 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. | ||
|
||
**Disclaimer:** This is a commercial package. To use this package, you need to have either a Syncfusion commercial license or Syncfusion Community License. For more details, please check the [LICENSE](https://github.com/syncfusion/flutter-examples/blob/master/LICENSE) file. | ||
|
||
**Note:** Our packages are now compatible with Flutter for Web. However, this will be in Beta until Flutter for Web becomes stable. | ||
|
||
## Table of contents | ||
- [Barcode Generator feature](#barcode-generator-feature) | ||
- [Get demo application](#get-demo-application) | ||
- [Useful links](#other-useful-links) | ||
- [Installation](#installation) | ||
- [Getting started](#getting-started) | ||
- [Add Barcode Generator to the widget tree](#add-barcode-generator-to-the-widget-tree) | ||
- [Add barcode symbology](#add-barcode-symbology) | ||
- [Show value to the barcode](#show-value-to-the-barcode) | ||
- [Support and feedback](#support-and-feedback) | ||
- [About Syncfusion](#about-syncfusion) | ||
|
||
## Barcode Generator features | ||
|
||
* **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. | ||
![One-dimensional barcodes](https://cdn.syncfusion.com/content/images/FTControl/Flutter/Barcode.png) | ||
|
||
* **Two-dimensional barcode** - Barcode Generator supports popular QR Code and Data Matrix. | ||
![Two-dimensional barcode](https://cdn.syncfusion.com/content/images/FTControl/Flutter/2DBarcode.png) | ||
|
||
* **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. | ||
|
||
* **Text customization** -Configure to display the barcode value and customize the position and style of the barcode text. | ||
|
||
## Get demo application | ||
|
||
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. | ||
|
||
<p align="center"> | ||
<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> | ||
<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> | ||
</p> | ||
<p align="center"> | ||
<a href="https://github.com/syncfusion/flutter-examples"><img src="https://cdn.syncfusion.com/content/images/FTControl/GitHub.png"/></a> | ||
<a href="https://flutter.syncfusion.com"><img src="https://cdn.syncfusion.com/content/images/FTControl/web_sample_browser.png"/></a> | ||
</p> | ||
|
||
## Other useful links | ||
Take a look at the following to learn more about Syncfusion Flutter guages: | ||
|
||
* [Syncfusion Flutter Barcode product page](https://www.syncfusion.com/flutter-widgets) | ||
* [User guide documentation](https://help.syncfusion.com/flutter/introduction/overview) | ||
* [Knowledge base](https://www.syncfusion.com/kb) | ||
|
||
## Installation | ||
|
||
Install the latest version from [pub](https://pub.dartlang.org/packages/syncfusion_flutter_barcodes#-installing-tab-). | ||
|
||
## Getting started | ||
|
||
Import the following package. | ||
|
||
```dart | ||
import 'package:syncfusion_flutter_barcodes/barcodes.dart'; | ||
``` | ||
### Add Barcode Generator to the widget tree | ||
|
||
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) | ||
|
||
```dart | ||
@override | ||
Widget build(BuildContext context) { | ||
return MaterialApp( | ||
home: Scaffold( | ||
body: Center( | ||
child: Container( | ||
height: 200, | ||
child: SfBarcodeGenerator(value: 'www.syncfusion.com'), | ||
))), | ||
); | ||
} | ||
``` | ||
## Add barcode symbology | ||
|
||
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. | ||
|
||
```dart | ||
@override | ||
Widget build(BuildContext context) { | ||
return MaterialApp( | ||
home: Scaffold( | ||
body: Center( | ||
child: Container( | ||
height: 200, | ||
child: SfBarcodeGenerator( | ||
value: 'www.syncfusion.com', | ||
symbology: QRCode(), | ||
), | ||
))), | ||
); | ||
} | ||
``` | ||
## Show value of the barcode | ||
|
||
input values can be displayed by enabling the **showValue** property of barcodes. | ||
|
||
```dart | ||
@override | ||
@override | ||
Widget build(BuildContext context) { | ||
return MaterialApp( | ||
home: Scaffold( | ||
body: Center( | ||
child: Container( | ||
height: 200, | ||
child: SfBarcodeGenerator( | ||
value: 'www.syncfusion.com', | ||
symbology: QRCode(), | ||
showValue: true, | ||
), | ||
))), | ||
); | ||
} | ||
``` | ||
|
||
The following screenshot illustrates the result of the previous code sample. | ||
|
||
![simple radial gauge](https://cdn.syncfusion.com/content/images/FTControl/Flutter/QR%20Code.png) | ||
|
||
### Support and feedback | ||
|
||
* 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). | ||
* 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. | ||
|
||
### About Syncfusion | ||
|
||
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. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include: package:syncfusion_flutter_core/analysis_options.yaml | ||
|
||
analyzer: | ||
errors: | ||
include_file_not_found: ignore | ||
lines_longer_than_80_chars: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Barcode example | ||
|
||
How to render Syncfusion Flutter Barcode generator widget? |
7 changes: 7 additions & 0 deletions
7
packages/syncfusion_flutter_barcodes/example/android/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
gradle-wrapper.jar | ||
/.gradle | ||
/captures/ | ||
/gradlew | ||
/gradlew.bat | ||
/local.properties | ||
GeneratedPluginRegistrant.java |
67 changes: 67 additions & 0 deletions
67
packages/syncfusion_flutter_barcodes/example/android/app/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
def localProperties = new Properties() | ||
def localPropertiesFile = rootProject.file('local.properties') | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader('UTF-8') { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
def flutterRoot = localProperties.getProperty('flutter.sdk') | ||
if (flutterRoot == null) { | ||
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") | ||
} | ||
|
||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = '1' | ||
} | ||
|
||
def flutterVersionName = localProperties.getProperty('flutter.versionName') | ||
if (flutterVersionName == null) { | ||
flutterVersionName = '1.0' | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" | ||
|
||
android { | ||
compileSdkVersion 28 | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
} | ||
|
||
lintOptions { | ||
disable 'InvalidPackage' | ||
} | ||
|
||
defaultConfig { | ||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||
applicationId "com.example.example" | ||
minSdkVersion 16 | ||
targetSdkVersion 28 | ||
versionCode flutterVersionCode.toInteger() | ||
versionName flutterVersionName | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
// TODO: Add your own signing config for the release build. | ||
// Signing with the debug keys for now, so `flutter run --release` works. | ||
signingConfig signingConfigs.debug | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source '../..' | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'androidx.test:runner:1.1.1' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/syncfusion_flutter_barcodes/example/android/app/src/debug/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.example.example"> | ||
<!-- Flutter needs it to communicate with the running application | ||
to allow setting breakpoints, to provide hot reload, etc. | ||
--> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
</manifest> |
30 changes: 30 additions & 0 deletions
30
packages/syncfusion_flutter_barcodes/example/android/app/src/main/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.example.example"> | ||
<!-- io.flutter.app.FlutterApplication is an android.app.Application that | ||
calls FlutterMain.startInitialization(this); in its onCreate method. | ||
In most cases you can leave this as-is, but you if you want to provide | ||
additional functionality it is fine to subclass or reimplement | ||
FlutterApplication and put your custom class here. --> | ||
<application | ||
android:name="io.flutter.app.FlutterApplication" | ||
android:label="example" | ||
android:icon="@mipmap/ic_launcher"> | ||
<activity | ||
android:name=".MainActivity" | ||
android:launchMode="singleTop" | ||
android:theme="@style/LaunchTheme" | ||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | ||
android:hardwareAccelerated="true" | ||
android:windowSoftInputMode="adjustResize"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
<!-- Don't delete the meta-data below. | ||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> | ||
<meta-data | ||
android:name="flutterEmbedding" | ||
android:value="2" /> | ||
</application> | ||
</manifest> |
12 changes: 12 additions & 0 deletions
12
..._flutter_barcodes/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.example.example | ||
|
||
import androidx.annotation.NonNull; | ||
import io.flutter.embedding.android.FlutterActivity | ||
import io.flutter.embedding.engine.FlutterEngine | ||
import io.flutter.plugins.GeneratedPluginRegistrant | ||
|
||
class MainActivity: FlutterActivity() { | ||
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { | ||
GeneratedPluginRegistrant.registerWith(flutterEngine); | ||
} | ||
} |
Oops, something went wrong.