Skip to content

Commit 18a341c

Browse files
author
LokeshPalani
committed
Moved release source to master
1 parent 73d2f82 commit 18a341c

File tree

330 files changed

+12670
-13922
lines changed

Some content is hidden

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

330 files changed

+12670
-13922
lines changed

packages/syncfusion_flutter_barcodes/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## Unreleased
22

3-
**Bugs**
3+
**General**
4+
* Provided th​e Material 3 themes support.
5+
6+
## [20.2.38] - 07/12/2022
47

8+
**Bugs**
59
* #FB45676 - Now, the QR code generated for all kinds of the input values with 07 [codeVersion](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/codeVersion.html), medium [errorCorrectionLevel](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/errorCorrectionLevel.html), and alphaNumeric [inputMode](https://pub.dev/documentation/syncfusion_flutter_barcodes/latest/barcodes/QRCode/inputMode.html) will be scannable.
610

711
## [22.1.36] 06/28/2023

packages/syncfusion_flutter_barcodes/example/lib/main.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ class MyApp extends StatelessWidget {
1010
@override
1111
Widget build(BuildContext context) {
1212
return MaterialApp(
13-
theme: ThemeData(
14-
useMaterial3: false,
15-
),
1613
home: Scaffold(
1714
appBar: AppBar(
1815
title: const Text('Barcode Generator Demo'),

packages/syncfusion_flutter_barcodes/pubspec.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: syncfusion_flutter_barcodes
22
description: Flutter Barcodes generator library is used to generate and display data in the machine-readable, industry-standard 1D and 2D barcodes.
3-
version: 24.1.41
3+
version: 24.2.9
44
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_barcodes
55

66
environment:
@@ -10,7 +10,11 @@ dependencies:
1010
flutter:
1111
sdk: flutter
1212
syncfusion_flutter_core:
13-
path: ../syncfusion_flutter_core
13+
git:
14+
url: https://SyncfusionBuild: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@github.com/essential-studio/flutter-core
15+
path: syncfusion_flutter_core
16+
branch: release/25.1.1
17+
ref: release/25.1.1
1418

1519
dev_dependencies:
1620
flutter_test:

packages/syncfusion_flutter_calendar/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## Unreleased
2+
3+
**General**
4+
* Provided th​e Material 3 themes support.
5+
6+
**Bug fixes**
7+
* \#FB50948 - Now, the 'setState() or markNeedsBuild() called during the build' exception will not be thrown when tapping today's button after swiping the `timelineMonth` view.
8+
* \#FB50846 - Now, text size remains consistent when the app state or themes gets changed.
9+
10+
## [24.1.46] - 17/01/2024
11+
**General**
12+
* Upgraded the `intl` package to the latest version 0.19.0.
13+
114
## [22.2.5]
215
**Features**
316
* Provided support to accessibility for builders in the Flutter event calendar.

packages/syncfusion_flutter_calendar/example/lib/main.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ void main() {
99
class CalendarApp extends StatelessWidget {
1010
@override
1111
Widget build(BuildContext context) {
12-
return MaterialApp(
13-
title: 'Calendar Demo',
14-
theme: ThemeData(useMaterial3: false),
15-
home: const MyHomePage(),
16-
);
12+
return const MaterialApp(title: 'Calendar Demo', home: MyHomePage());
1713
}
1814
}
1915

packages/syncfusion_flutter_calendar/lib/src/calendar/appointment_engine/appointment.dart

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Appointment with Diagnosticable {
7575
this.endTimeZone,
7676
this.recurrenceRule,
7777
this.isAllDay = false,
78-
this.notes,
78+
String? notes,
7979
this.location,
8080
this.resourceIds,
8181
this.recurrenceId,
@@ -85,12 +85,17 @@ class Appointment with Diagnosticable {
8585
this.subject = '',
8686
this.color = Colors.lightBlue,
8787
this.recurrenceExceptionDates,
88-
}) {
88+
}) : notes = notes != null && notes.contains('isOccurrenceAppointment')
89+
? notes.replaceAll('isOccurrenceAppointment', '')
90+
: notes,
91+
_notes = notes {
8992
recurrenceRule = recurrenceId != null ? null : recurrenceRule;
9093
_appointmentType = _getAppointmentType();
9194
id = id ?? hashCode;
9295
}
9396

97+
String? _notes;
98+
9499
/// The start time for an [Appointment] in [SfCalendar].
95100
///
96101
/// Defaults to `DateTime.now()`.
@@ -937,8 +942,8 @@ class Appointment with Diagnosticable {
937942
if (recurrenceId != null) {
938943
return AppointmentType.changedOccurrence;
939944
} else if (recurrenceRule != null && recurrenceRule!.isNotEmpty) {
940-
if (notes != null && notes!.contains('isOccurrenceAppointment')) {
941-
notes = notes!.replaceAll('isOccurrenceAppointment', '');
945+
if (_notes != null && _notes!.contains('isOccurrenceAppointment')) {
946+
_notes = _notes!.replaceAll('isOccurrenceAppointment', '');
942947
return AppointmentType.occurrence;
943948
}
944949

@@ -949,7 +954,7 @@ class Appointment with Diagnosticable {
949954

950955
@override
951956
// ignore: avoid_equals_and_hash_code_on_mutable_classes
952-
bool operator ==(dynamic other) {
957+
bool operator ==(Object other) {
953958
if (identical(this, other)) {
954959
return true;
955960
}

packages/syncfusion_flutter_calendar/lib/src/calendar/appointment_engine/recurrence_properties.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ class RecurrenceProperties with Diagnosticable {
689689

690690
@override
691691
// ignore: avoid_equals_and_hash_code_on_mutable_classes
692-
bool operator ==(dynamic other) {
692+
bool operator ==(Object other) {
693693
if (identical(this, other)) {
694694
return true;
695695
}

packages/syncfusion_flutter_calendar/lib/src/calendar/appointment_layout/agenda_view_layout.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ class _AgendaViewRenderObject extends CustomCalendarRenderObject {
875875
: themeData.textTheme.bodyMedium!
876876
.copyWith(
877877
color: isLargerScheduleUI &&
878-
calendarTheme.brightness == Brightness.light
878+
themeData.brightness == Brightness.light
879879
? Colors.black87
880880
: Colors.white,
881881
fontSize: 13)

packages/syncfusion_flutter_calendar/lib/src/calendar/appointment_layout/allday_appointment_layout.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ class _AllDayAppointmentRenderObject extends CustomCalendarRenderObject {
13931393
appointmentView.startIndex <= index &&
13941394
appointmentView.endIndex > index) {
13951395
selectionDecoration ??= BoxDecoration(
1396-
color: calendarTheme.brightness == Brightness.light
1396+
color: themeData.brightness == Brightness.light
13971397
? Colors.white.withOpacity(0.3)
13981398
: Colors.black.withOpacity(0.4),
13991399
border:

packages/syncfusion_flutter_calendar/lib/src/calendar/common/calendar_view_helper.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,13 +741,13 @@ class CalendarViewHelper {
741741
}
742742

743743
/// Method to switch the views based on the keyboard interaction.
744-
static KeyEventResult handleViewSwitchKeyBoardEvent(RawKeyEvent event,
744+
static KeyEventResult handleViewSwitchKeyBoardEvent(KeyEvent event,
745745
CalendarController controller, List<CalendarView>? allowedViews) {
746746
/// Ctrl + and Ctrl - used by browser to zoom the page, hence as referred
747747
/// EJ2 scheduler, we have used alt + numeric to switch between views in
748748
/// calendar web and windows
749749
CalendarView view = controller.view!;
750-
if (event.isAltPressed) {
750+
if (HardwareKeyboard.instance.isAltPressed) {
751751
if (event.logicalKey == LogicalKeyboardKey.digit1) {
752752
view = CalendarView.day;
753753
} else if (event.logicalKey == LogicalKeyboardKey.digit2) {
@@ -1088,7 +1088,7 @@ class CalendarAppointment {
10881088

10891089
@override
10901090
// ignore: avoid_equals_and_hash_code_on_mutable_classes
1091-
bool operator ==(dynamic other) {
1091+
bool operator ==(Object other) {
10921092
if (identical(this, other)) {
10931093
return true;
10941094
}
@@ -1258,7 +1258,7 @@ class CalendarTimeRegion {
12581258

12591259
@override
12601260
// ignore: avoid_equals_and_hash_code_on_mutable_classes
1261-
bool operator ==(dynamic other) {
1261+
bool operator ==(Object other) {
12621262
if (identical(this, other)) {
12631263
return true;
12641264
}

0 commit comments

Comments
 (0)