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

+5-1
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

-3
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

+6-2
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:[email protected]/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

+13
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

+1-5
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

+10-5
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

+1-1
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

+1-1
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

+1-1
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

+4-4
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
}

packages/syncfusion_flutter_calendar/lib/src/calendar/resource_view/calendar_resource.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class CalendarResource with Diagnosticable {
243243
final ImageProvider? image;
244244

245245
@override
246-
bool operator ==(dynamic other) {
246+
bool operator ==(Object other) {
247247
if (identical(this, other)) {
248248
return true;
249249
}

packages/syncfusion_flutter_calendar/lib/src/calendar/resource_view/resource_view.dart

+5-6
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ class _ResourceViewRenderObject extends CustomCalendarRenderObject {
445445

446446
if (mouseHoverPosition != null) {
447447
final Color resourceHoveringColor =
448-
(calendarTheme.brightness == Brightness.dark
448+
(themeData.brightness == Brightness.dark
449449
? Colors.white
450450
: Colors.black87)
451451
.withOpacity(0.04);
@@ -476,11 +476,10 @@ class _ResourceViewRenderObject extends CustomCalendarRenderObject {
476476
: actualItemWidth / 2;
477477
final Color resourceCellBorderColor =
478478
cellBorderColor ?? calendarTheme.cellBorderColor!;
479-
final Color resourceHoveringColor =
480-
(calendarTheme.brightness == Brightness.dark
481-
? Colors.white
482-
: Colors.black87)
483-
.withOpacity(0.04);
479+
final Color resourceHoveringColor = (themeData.brightness == Brightness.dark
480+
? Colors.white
481+
: Colors.black87)
482+
.withOpacity(0.04);
484483
final TextStyle displayNameTextStyle = calendarTheme.displayNameTextStyle!;
485484
_circlePainter.color = resourceCellBorderColor;
486485
_circlePainter.strokeWidth = 0.5;

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/drag_and_drop_settings.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class DragAndDropSettings with Diagnosticable {
213213
final Duration autoNavigateDelay;
214214

215215
@override
216-
bool operator ==(dynamic other) {
216+
bool operator ==(Object other) {
217217
if (identical(this, other)) {
218218
return true;
219219
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/header_style.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class CalendarHeaderStyle with Diagnosticable {
115115
final Color? backgroundColor;
116116

117117
@override
118-
bool operator ==(dynamic other) {
118+
bool operator ==(Object other) {
119119
if (identical(this, other)) {
120120
return true;
121121
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/month_view_settings.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ class MonthViewSettings with Diagnosticable {
617617
final MonthNavigationDirection navigationDirection;
618618

619619
@override
620-
bool operator ==(dynamic other) {
620+
bool operator ==(Object other) {
621621
if (identical(this, other)) {
622622
return true;
623623
}
@@ -982,7 +982,7 @@ class AgendaStyle with Diagnosticable {
982982
final Color? backgroundColor;
983983

984984
@override
985-
bool operator ==(dynamic other) {
985+
bool operator ==(Object other) {
986986
if (identical(this, other)) {
987987
return true;
988988
}
@@ -1552,7 +1552,7 @@ class MonthCellStyle with Diagnosticable {
15521552
final Color? leadingDatesBackgroundColor;
15531553

15541554
@override
1555-
bool operator ==(dynamic other) {
1555+
bool operator ==(Object other) {
15561556
if (identical(this, other)) {
15571557
return true;
15581558
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/resource_view_settings.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class ResourceViewSettings with Diagnosticable {
222222
final bool showAvatar;
223223

224224
@override
225-
bool operator ==(dynamic other) {
225+
bool operator ==(Object other) {
226226
if (identical(this, other)) {
227227
return true;
228228
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/schedule_view_settings.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class ScheduleViewSettings with Diagnosticable {
315315
final bool hideEmptyScheduleWeek;
316316

317317
@override
318-
bool operator ==(dynamic other) {
318+
bool operator ==(Object other) {
319319
if (identical(this, other)) {
320320
return true;
321321
}
@@ -597,7 +597,7 @@ class MonthHeaderSettings with Diagnosticable {
597597
final TextStyle? monthTextStyle;
598598

599599
@override
600-
bool operator ==(dynamic other) {
600+
bool operator ==(Object other) {
601601
if (identical(this, other)) {
602602
return true;
603603
}
@@ -915,7 +915,7 @@ class WeekHeaderSettings with Diagnosticable {
915915
final TextStyle? weekTextStyle;
916916

917917
@override
918-
bool operator ==(dynamic other) {
918+
bool operator ==(Object other) {
919919
if (identical(this, other)) {
920920
return true;
921921
}
@@ -1152,7 +1152,7 @@ class DayHeaderSettings with Diagnosticable {
11521152
final TextStyle? dateTextStyle;
11531153

11541154
@override
1155-
bool operator ==(dynamic other) {
1155+
bool operator ==(Object other) {
11561156
if (identical(this, other)) {
11571157
return true;
11581158
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/time_region.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ class TimeRegion with Diagnosticable {
571571
}
572572

573573
@override
574-
bool operator ==(dynamic other) {
574+
bool operator ==(Object other) {
575575
if (identical(this, other)) {
576576
return true;
577577
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/time_slot_view_settings.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ class TimeSlotViewSettings with Diagnosticable {
693693
final int numberOfDaysInView;
694694

695695
@override
696-
bool operator ==(dynamic other) {
696+
bool operator ==(Object other) {
697697
if (identical(this, other)) {
698698
return true;
699699
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/view_header_style.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class ViewHeaderStyle with Diagnosticable {
132132
final TextStyle? dayTextStyle;
133133

134134
@override
135-
bool operator ==(dynamic other) {
135+
bool operator ==(Object other) {
136136
if (identical(this, other)) {
137137
return true;
138138
}

packages/syncfusion_flutter_calendar/lib/src/calendar/settings/week_number_style.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class WeekNumberStyle with Diagnosticable {
8181
final TextStyle? textStyle;
8282

8383
@override
84-
bool operator ==(dynamic other) {
84+
bool operator ==(Object other) {
8585
if (identical(this, other)) {
8686
return true;
8787
}

0 commit comments

Comments
 (0)