Skip to content

Commit 194afe6

Browse files
Merge pull request syncfusion#492 from Rokesh-Karthikeyan/master
Updated flutter widgets repository with latest release source.
2 parents 441150d + 27e7d31 commit 194afe6

File tree

850 files changed

+60141
-40637
lines changed

Some content is hidden

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

850 files changed

+60141
-40637
lines changed

packages/syncfusion_flutter_barcodes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ The following screenshot illustrates the result of the previous code sample.
134134

135135
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.
136136

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), [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) 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.
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.

packages/syncfusion_flutter_barcodes/analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ analyzer:
66
lines_longer_than_80_chars: ignore
77
avoid_as: false
88
use_raw_strings: ignore
9+
unnecessary_null_checks: ignore
10+
noop_primitive_operations: ignore

packages/syncfusion_flutter_barcodes/example/android/example_android.iml

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

packages/syncfusion_flutter_barcodes/example/example.iml

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

packages/syncfusion_flutter_barcodes/example/pubspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ dependencies:
2626
# Use with the CupertinoIcons class for iOS style icons.
2727
cupertino_icons: ^1.0.2
2828

29+
30+
2931
# For information on the generic Dart part of this file, see the
3032
# following page: https://dart.dev/tools/pub/pubspec
3133

packages/syncfusion_flutter_barcodes/lib/src/barcode_generator/base/barcode_generator.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import 'dart:ui';
21
import 'package:flutter/material.dart';
3-
import 'package:flutter/rendering.dart';
42
import 'package:syncfusion_flutter_core/theme.dart';
53
import '../common/barcode_renderer.dart';
64
import '../one_dimensional/codabar_symbology.dart';

packages/syncfusion_flutter_barcodes/lib/src/barcode_generator/common/barcode_renderer.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import 'dart:ui';
21
import 'package:flutter/material.dart';
3-
import 'package:flutter/rendering.dart';
42
import '../base/symbology_base.dart';
53
import '../renderers/one_dimensional/symbology_base_renderer.dart';
64

@@ -63,6 +61,7 @@ class SfBarcodeGeneratorRenderObjectWidget extends LeafRenderObjectWidget {
6361
}
6462

6563
@override
64+
// ignore: library_private_types_in_public_api
6665
void updateRenderObject(BuildContext context, _RenderBarcode renderObject) {
6766
renderObject
6867
..value = value!

packages/syncfusion_flutter_barcodes/lib/src/barcode_generator/renderers/one_dimensional/codabar_renderer.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'dart:ui';
21
import 'package:flutter/material.dart';
32
import 'package:flutter/rendering.dart';
43
import '../../base/symbology_base.dart';
@@ -43,7 +42,7 @@ class CodabarRenderer extends SymbologyRenderer {
4342
value[i] == 'B' ||
4443
value[i] == 'C' ||
4544
value[i] == 'D') {
46-
throw 'The provided input cannot be encoded : ' + value[i];
45+
throw 'The provided input cannot be encoded : ${value[i]}';
4746
}
4847
}
4948
return true;
@@ -118,7 +117,7 @@ class CodabarRenderer extends SymbologyRenderer {
118117

119118
/// Method to append the start and the stop symbol
120119
String _getValueWithStartAndStopSymbol(String value) {
121-
return 'A' + value + 'A';
120+
return 'A${value}A';
122121
}
123122

124123
/// Returns the encoded value of the provided input value

packages/syncfusion_flutter_barcodes/lib/src/barcode_generator/renderers/one_dimensional/code128_renderer.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import 'dart:ui';
21
import 'package:flutter/material.dart';
32
import 'package:flutter/rendering.dart';
43
import '../../base/symbology_base.dart';
@@ -20,6 +19,7 @@ class Code128Renderer extends SymbologyRenderer {
2019
code128ACharacterSets.add('\$');
2120
code128ACharacterSets.add('%');
2221
code128ACharacterSets.add('&');
22+
// ignore: avoid_escaping_inner_quotes
2323
code128ACharacterSets.add('\'');
2424
code128ACharacterSets.add('(');
2525
code128ACharacterSets.add(')');
@@ -129,6 +129,7 @@ class Code128Renderer extends SymbologyRenderer {
129129
code128BCharacterSets.add('\$');
130130
code128BCharacterSets.add('%');
131131
code128BCharacterSets.add('&');
132+
// ignore: avoid_escaping_inner_quotes
132133
code128BCharacterSets.add('\'');
133134
code128BCharacterSets.add('(');
134135
code128BCharacterSets.add(')');
@@ -436,7 +437,7 @@ class Code128Renderer extends SymbologyRenderer {
436437
} else if (currentCharacter < 127) {
437438
return true;
438439
} else {
439-
throw 'The provided input cannot be encoded : ' + value[i];
440+
throw 'The provided input cannot be encoded : ${value[i]}';
440441
}
441442
}
442443
return false;

packages/syncfusion_flutter_barcodes/lib/src/barcode_generator/renderers/one_dimensional/code128a_renderer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Code128ARenderer extends Code128Renderer {
1010
bool getIsValidateInput(String value) {
1111
for (int i = 0; i < value.length; i++) {
1212
if (!code128ACharacterSets.contains(value[i])) {
13-
throw 'The provided input cannot be encoded : ' + value[i];
13+
throw 'The provided input cannot be encoded : ${value[i]}';
1414
}
1515
}
1616
return true;

0 commit comments

Comments
 (0)