Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 4.25.5

* May 2025 Release

## 4.25.4

* April 2025 Release
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ insert-example:
.PHONY: update
update:
dart pub upgrade
dart pub outdated

.PHONY: cover
cover:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Dart test](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dart/actions/workflows/dart.yml/badge.svg?branch=main)](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dart/actions/workflows/dart.yml)

- API version: 4.0
- SDK version: 4.25.4
- SDK version: 4.25.5

## SDK and API Version Compatibility:

Expand Down Expand Up @@ -39,7 +39,7 @@ Add this dependency to your *pubspec.yaml*:

```yaml
dependencies:
aspose_barcode_cloud: 4.25.4
aspose_barcode_cloud: 4.25.5
```

## Sample usage
Expand Down
30 changes: 15 additions & 15 deletions doc/api/GenerateApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ Name | Type | Description | Notes
---- | ---- | ------------ | -----
**barcodeType** | [**EncodeBarcodeType**](.md)| Type of barcode to generate. |
**data** | **String**| String represents data to encode |
**dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional]
**imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional]
**textLocation** | [**CodeLocation**](.md)| Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. | [optional]
**foregroundColor** | **String**| Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**backgroundColor** | **String**| Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**dataType** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional]
**imageFormat** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional]
**textLocation** | [**CodeLocation**](.md)| Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. | [optional]
**foregroundColor** | **String**| Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**backgroundColor** | **String**| Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**units** | [**GraphicsUnit**](.md)| Common Units for all measuring in query. Default units: pixel. | [optional]
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]

### Return type

Expand Down Expand Up @@ -89,13 +89,13 @@ Name | Type | Description | Notes
**dataType** | [**EncodeDataType**](EncodeDataType.md)| | [optional]
**imageFormat** | [**BarcodeImageFormat**](BarcodeImageFormat.md)| | [optional]
**textLocation** | [**CodeLocation**](CodeLocation.md)| | [optional]
**foregroundColor** | **String**| Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**backgroundColor** | **String**| Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**foregroundColor** | **String**| Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**backgroundColor** | **String**| Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**units** | [**GraphicsUnit**](GraphicsUnit.md)| | [optional]
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
**resolution** | **double**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**imageHeight** | **double**| Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**imageWidth** | **double**| Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotationAngle** | **int**| BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]

### Return type

Expand Down
12 changes: 6 additions & 6 deletions doc/models/BarcodeImageParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Name | Type | Description | Notes
---- | ---- | ----------- | -----
**imageFormat** | [**BarcodeImageFormat**](BarcodeImageFormat.md) | | [optional]
**textLocation** | [**CodeLocation**](CodeLocation.md) | | [optional]
**foregroundColor** | **String** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**backgroundColor** | **String** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**foregroundColor** | **String** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**backgroundColor** | **String** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**units** | [**GraphicsUnit**](GraphicsUnit.md) | | [optional]
**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**imageHeight** | **double** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**imageWidth** | **double** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotationAngle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
**resolution** | **double** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**imageHeight** | **double** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**imageWidth** | **double** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotationAngle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]

2 changes: 1 addition & 1 deletion lib/src/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'api_helper.dart';
import 'auth/authentication.dart';

/// Current SDK Version
const SDK_VERSION = "4.25.4";
const SDK_VERSION = "4.25.5";

/// ApiClient is responsible for making HTTP requests to the API.
class ApiClient {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Configuration {
}

/// Load configuration from environment variables
static fromEnv({String prefix = ""}) {
static Configuration fromEnv({String prefix = ""}) {
final accessToken = Platform.environment["${prefix}ACCESS_TOKEN"];
return Configuration(
accessToken: accessToken,
Expand Down
12 changes: 6 additions & 6 deletions lib/src/model/barcode_image_params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ class BarcodeImageParams {
//enum textLocationEnum { Below, Above, None, };
CodeLocation? textLocation;

/// Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black.
/// Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black.

String? foregroundColor;

/// Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White.
/// Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White.

String? backgroundColor;

/// units
//enum unitsEnum { Pixel, Point, Inch, Millimeter, };
GraphicsUnit? units;

/// Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot.
/// Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot.

double? resolution;

/// Height of the barcode image in given units. Default units: pixel. Decimal separator is dot.
/// Height of the barcode image in given units. Default units: pixel. Decimal separator is dot.

double? imageHeight;

/// Width of the barcode image in given units. Default units: pixel. Decimal separator is dot.
/// Width of the barcode image in given units. Default units: pixel. Decimal separator is dot.

double? imageWidth;

/// BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
/// BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.

int? rotationAngle;

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: aspose_barcode_cloud
description: This SDK allows you to work with Aspose.BarCode for Cloud REST APIs in your Dart or Flutter applications quickly and easily
version: 4.25.4
version: 4.25.5
homepage: https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dart

platforms:
Expand All @@ -17,5 +17,5 @@ dependencies:
http: '>=0.13.0 <2.0.0'

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.1