Skip to content

Commit aee2596

Browse files
Moved all the widgets release source
1 parent ee87b7b commit aee2596

File tree

407 files changed

+12016
-6094
lines changed

Some content is hidden

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

407 files changed

+12016
-6094
lines changed

packages/syncfusion_flutter_barcodes/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Unreleased
2+
3+
**General**
4+
5+
* The compatible version of our Flutter barcodes widget has been updated to Flutter SDK 3.24.0.
6+
17
## [25.1.35] - 15/03/2024
28

39
**General**

packages/syncfusion_flutter_barcodes/pubspec.yaml

Lines changed: 2 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: 25.2.6
3+
version: 27.1.48
44
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_barcodes
55

66
screenshots:
@@ -26,4 +26,4 @@ dev_dependencies:
2626

2727
flutter:
2828

29-
29+

packages/syncfusion_flutter_calendar/CHANGELOG.md

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

3+
**General**
4+
5+
* The compatible version of our Flutter calendar widget has been updated to Flutter SDK 3.24.0.
6+
7+
**Bug fixes**
8+
* Now, the horizontal scroll bar is draggable in the timeline view on both web and desktop platforms.
9+
10+
## [25.2.7] - 06/04/2024
311
**Bugs**
4-
* \#FB57253 - Now, the appointment details are passed correctly to the [monthCellBuilder](https://pub.dev/documentation/syncfusion_flutter_calendar/latest/calendar/SfCalendar/monthCellBuilder.html) callback when navigating to the months using the navigation buttons.
12+
* \#FB57253 -
13+
Now, the appointment details are passed correctly to the [monthCellBuilder](https://pub.dev/documentation/syncfusion_flutter_calendar/latest/calendar/SfCalendar/monthCellBuilder.html) callback when navigating to the months using the navigation buttons.
514

615
## [25.2.3] - 05/13/2024
716
**General**
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
11
include: package:syncfusion_flutter_core/analysis_options.yaml
2-
3-
analyzer:
4-
errors:
5-
include_file_not_found: ignore
6-
invalid_dependency: ignore

packages/syncfusion_flutter_calendar/example/lib/main.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ import 'package:flutter/material.dart';
22
import 'package:syncfusion_flutter_calendar/calendar.dart';
33

44
void main() {
5-
return runApp(CalendarApp());
5+
return runApp(const CalendarApp());
66
}
77

88
/// The app which hosts the home page which contains the calendar on it.
99
class CalendarApp extends StatelessWidget {
10+
const CalendarApp({super.key});
11+
1012
@override
1113
Widget build(BuildContext context) {
1214
return const MaterialApp(title: 'Calendar Demo', home: MyHomePage());

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class AgendaViewLayout extends StatefulWidget {
3232
this.width,
3333
this.height,
3434
this.placeholderTextStyle,
35-
this.calendar);
35+
this.calendar,
36+
{super.key});
3637

3738
/// Defines the month view customization details.
3839
final MonthViewSettings? monthViewSettings;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class AllDayAppointmentLayout extends StatefulWidget {
3131
this.width,
3232
this.height,
3333
this.localizations,
34-
this.updateCalendarState);
34+
this.updateCalendarState,
35+
{super.key});
3536

3637
/// Holds the calendar instance used the get the properties of calendar.
3738
final SfCalendar calendar;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class ResourceViewWidget extends StatefulWidget {
2323
this.imagePainterCollection,
2424
this.width,
2525
this.panelHeight,
26-
this.resourceViewHeaderBuilder);
26+
this.resourceViewHeaderBuilder,
27+
{super.key});
2728

2829
/// Holds the resources of the calendar.
2930
final List<CalendarResource>? resources;

packages/syncfusion_flutter_calendar/lib/src/calendar/views/calendar_view.dart

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class _CustomCalendarScrollViewState extends State<CustomCalendarScrollView>
269269
late ValueNotifier<_DragPaintDetails> _dragDetails;
270270
Offset? _dragDifferenceOffset;
271271
Timer? _timer;
272-
double? _viewPortHeight;
272+
late double? _viewPortHeight;
273273

274274
@override
275275
void initState() {
@@ -6174,14 +6174,16 @@ class _CalendarViewState extends State<_CalendarView>
61746174
final double scrollPosition = _getScrollPositionForCurrentDate(
61756175
_updateCalendarStateDetails.currentDate!);
61766176
if (scrollPosition == -1 ||
6177-
_scrollController!.position.pixels == scrollPosition) {
6177+
(_scrollController != null &&
6178+
_scrollController!.position.pixels == scrollPosition)) {
61786179
return;
61796180
}
6180-
6181-
_scrollController!.jumpTo(
6182-
_scrollController!.position.maxScrollExtent > scrollPosition
6183-
? scrollPosition
6184-
: _scrollController!.position.maxScrollExtent);
6181+
if (_scrollController != null) {
6182+
_scrollController!.jumpTo(
6183+
_scrollController!.position.maxScrollExtent > scrollPosition
6184+
? scrollPosition
6185+
: _scrollController!.position.maxScrollExtent);
6186+
}
61856187
});
61866188
}
61876189

@@ -6214,7 +6216,7 @@ class _CalendarViewState extends State<_CalendarView>
62146216
}
62156217
}
62166218

6217-
if (_scrollController!.hasClients) {
6219+
if (_scrollController != null && _scrollController!.hasClients) {
62186220
if (timeToPosition > _scrollController!.position.maxScrollExtent) {
62196221
timeToPosition = _scrollController!.position.maxScrollExtent;
62206222
} else if (timeToPosition < _scrollController!.position.minScrollExtent) {
@@ -8744,7 +8746,9 @@ class _CalendarViewState extends State<_CalendarView>
87448746
padding: EdgeInsets.zero,
87458747
controller: _timelineRulerController,
87468748
scrollDirection: Axis.horizontal,
8747-
physics: const _CustomNeverScrollableScrollPhysics(),
8749+
physics: widget.isMobilePlatform
8750+
? const _CustomNeverScrollableScrollPhysics()
8751+
: const ClampingScrollPhysics(),
87488752
children: <Widget>[
87498753
RepaintBoundary(
87508754
child: CustomPaint(
@@ -8775,7 +8779,9 @@ class _CalendarViewState extends State<_CalendarView>
87758779
padding: EdgeInsets.zero,
87768780
controller: _scrollController,
87778781
scrollDirection: Axis.horizontal,
8778-
physics: const _CustomNeverScrollableScrollPhysics(),
8782+
physics: widget.isMobilePlatform
8783+
? const _CustomNeverScrollableScrollPhysics()
8784+
: const ClampingScrollPhysics(),
87798785
children: <Widget>[
87808786
SizedBox(
87818787
width: width,
@@ -12869,7 +12875,7 @@ class _CurrentTimeIndicator extends CustomPainter {
1286912875
final int viewEndMinutes = (timeSlotViewSettings.endHour * 60).toInt();
1287012876
DateTime getLocationDateTime = DateTime.now();
1287112877

12872-
if (!timeZoneLoaded && timeZone == null) {
12878+
if (!timeZoneLoaded) {
1287312879
return;
1287412880
}
1287512881
if (totalMinutes < viewStartMinutes || totalMinutes > viewEndMinutes) {

packages/syncfusion_flutter_calendar/lib/src/calendar/views/day_view.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class TimeSlotWidget extends StatefulWidget {
3131
this.width,
3232
this.height,
3333
this.minDate,
34-
this.maxDate);
34+
this.maxDate,
35+
{super.key});
3536

3637
/// Holds the visible dates collection for current time slot view.
3738
final List<DateTime> visibleDates;

0 commit comments

Comments
 (0)