Skip to content

Commit a266a04

Browse files
Merge branch 'hotfix/hotfix-v19.4.0.38' of https://github.com/syncfusion-content/flutter-docs into FLUT-6017-UGchanges
2 parents 3f45096 + 44d3646 commit a266a04

File tree

5 files changed

+34
-7
lines changed

5 files changed

+34
-7
lines changed

Flutter/DateRangePicker/hijri-date-picker.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Widget build(BuildContext context) {
3030
![Hijri date range picker](images/hijri-picker/hijri_programattic_view_navigation.jpg)
3131

3232
>**NOTE**
33-
* Most of the properties type and classes were same from [SfDateRangePicker](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/SfDateRangePicker-class.html) except the followings [HijriDatePickerController](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerController-class.html), [HijriDatePickerMonthCellStyle](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerMonthCellStyle-class.html), [HijriDatePickerMonthViewSettings](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerMonthViewSettings-class.html), [HijriDatePickerViewChangedArgs](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerViewChangedArgs-class.html), [HijriDatePickerYearCellStyle](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerYearCellStyle-class.html), [HijriDateRange](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDateRange-class.html) and [HijriDatePickerView](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerView-class.html).
33+
* Most of the properties type and classes were same from [SfDateRangePicker](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/SfDateRangePicker-class.html) except the followings [HijriDatePickerController](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerController-class.html), [HijriDatePickerMonthCellStyle](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerMonthCellStyle-class.html), [HijriDatePickerMonthViewSettings](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerMonthViewSettings-class.html), [HijriDatePickerViewChangedArgs](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerViewChangedArgs-class.html), [HijriDatePickerYearCellStyle](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerYearCellStyle-class.html), [HijriDateRange](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDateRange-class.html) and [HijriDatePickerView](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/HijriDatePickerView.html).
3434
* Use the [HijriDateTime](https://pub.dev/documentation/syncfusion_flutter_core/latest/core/HijriDateTime-class.html) class to define the date for `SfHijriDateRangePicker`.
3535

3636
## Multiple picker views
@@ -373,7 +373,7 @@ class MyAppState extends State<MyApp> {
373373
![Hijri programmatic multi-range selection](images/hijri-picker/hijri_programmatic_selection_multi_range.png)
374374

375375
### Extendable range selection
376-
Extend the selected range with the new selected date in any date range picker view by setting the [DateRangePickerSelectionMode](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/DateRangePickerSelectionMode-class.html) to `extendableRange`.
376+
Extend the selected range with the new selected date in any date range picker view by setting the [DateRangePickerSelectionMode](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/DateRangePickerSelectionMode.html) to `extendableRange`.
377377

378378
{% tabs %}
379379
{% highlight Dart %}
@@ -409,6 +409,33 @@ class MyAppState extends State<MyApp> {
409409
>**NOTE**
410410
* The hovering effect which occurs while extending the range will not be displayed when the `DateRangePickerNavigationMode` is set as `DateRangePickerNavigationMode.scroll`.
411411

412+
## Extendable range selection Direction
413+
It allows to extend the selection direction by using the [extendableRangeSelectionDirection](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/SfHijriDateRangePicker/extendableRangeSelectionDirection.html) property of the DateRangePicker.
414+
You can set the extendable range selection direction as forward, backward, both and none.
415+
416+
{% tabs %}
417+
{% highlight Dart %}
418+
419+
@override
420+
Widget build(BuildContext context) {
421+
return MaterialApp(
422+
home: Scaffold(
423+
body: SfHijriDateRangePicker(
424+
view: HijriDatePickerView.month,
425+
selectionMode: DateRangePickerSelectionMode.extendableRange,
426+
extendableRangeSelectionDirection:
427+
ExtendableRangeSelectionDirection.forward,
428+
)));
429+
}
430+
431+
{% endhighlight %}
432+
{% endtabs %}
433+
434+
>**NOTE**
435+
* If it is set to none, it won't allow to extend the selection. It will remain in the initial range.
436+
* If it is set to forward direction, the start date will not be changed here.
437+
* If it is set to backward direction, the end date will not be changed here.
438+
412439
## Month cell customization
413440
Customize the Hijri date picker month view by using the [monthCellStyle](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/SfHijriDateRangePicker/monthCellStyle.html) property of `SfHijriDateRangePicker`.
414441

Flutter/DateRangePicker/selections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Extend the selected range with the new selected date in any date range picker vi
140140
* The hovering effect which occurs while extending the range will not be displayed when the `DateRangePickerNavigationMode` is set as `DateRangePickerNavigationMode.scroll`.
141141

142142
## Extendable range selection Direction
143-
It allows to extend the selection direction by using the [extendableRangeSelectionDirection]() property of the DateRangePicker.
143+
It allows to extend the selection direction by using the [extendableRangeSelectionDirection](https://pub.dev/documentation/syncfusion_flutter_datepicker/latest/datepicker/SfDateRangePicker/extendableRangeSelectionDirection.html) property of the DateRangePicker.
144144
You can set the extendable range selection direction as forward, backward, both and none.
145145

146146
{% tabs %}

Flutter/calendar/callbacks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Widget build(BuildContext context) {
7878

7979
## Calendar details callback
8080

81-
Return calendar details based on the given offset passed through argument by using the [getCalendarDetailsAtOffset]() method.
81+
Return calendar details based on the given offset passed through argument by using the [getCalendarDetailsAtOffset](https://pub.dev/documentation/syncfusion_flutter_calendar/latest/calendar/CalendarController/getCalendarDetailsAtOffset.html) method.
8282

8383
`date` - returns the date based on the given offset.
8484
`appointments` - returns the appointments based on the given offset.

Flutter/datagrid/scrolling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ class _EmployeeDataSource extends DataGridSource {
690690

691691
## Increase row cache limit
692692

693-
By default, rows are generated based on the view port size and these rows are reused while scrolling. You can set the `SfDataGrid.rowsCacheExtent` property to avoid the visible changes caused by re-using. For example, if you show the checkbox in a column without setting the rows using this property, checkbox state changes with animation can be seen when vertical scrolling is performed.
693+
By default, rows are generated based on the view port size and these rows are reused while scrolling. You can set the [SfDataGrid.rowsCacheExtent](https://pub.dev/documentation/syncfusion_flutter_datagrid/latest/datagrid/SfDataGrid/rowsCacheExtent.html) property to avoid the visible changes caused by re-using. For example, if you show the checkbox in a column without setting the rows using this property, checkbox state changes with animation can be seen when vertical scrolling is performed.
694694

695695
The `rowsCacheExtent` property will create the additional rows internally with the existing visible rows, which are already allocated based on view port size. So, the number of rows that will be reused will increase.
696696

@@ -756,7 +756,7 @@ The `rowsCacheExtent` property will create the additional rows internally with t
756756

757757
## Set height and width of DataGrid based on rows and columns available
758758

759-
If the height or width of the DataGrid is infinity, then DataGrid sets its height or width to 300 by default. Users can set the height or width based on the number of rows or columns available in DataGrid by using the `shrinkWrapRows` or `shrinkWrapColumns` property, respectively.
759+
If the height or width of the DataGrid is infinity, then DataGrid sets its height or width to 300 by default. Users can set the height or width based on the number of rows or columns available in DataGrid by using the [shrinkWrapRows](https://pub.dev/documentation/syncfusion_flutter_datagrid/latest/datagrid/SfDataGrid/shrinkWrapRows.html) or [shrinkWrapColumns](https://pub.dev/documentation/syncfusion_flutter_datagrid/latest/datagrid/SfDataGrid/shrinkWrapColumns.html) property, respectively.
760760

761761
>**NOTE**
762762
Shrink wrapping is significantly more expensive than setting the height and width manually.

Flutter/datagrid/swiping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Widget build(BuildContext context) {
264264

265265
## Set different swipe offsets for right and left swiping
266266

267-
You can set the different swipe offsets based on swipe direction by using the `onSwipeStart` callback and passing the required swipe offset to the `setSwipeMaxOffset` method from the `onSwipeStart` callback's argument.
267+
You can set the different swipe offsets based on swipe direction by using the `onSwipeStart` callback and passing the required swipe offset to the [setSwipeMaxOffset](https://pub.dev/documentation/syncfusion_flutter_datagrid/latest/datagrid/DataGridSwipeStartDetails/setSwipeMaxOffset.html) method from the `onSwipeStart` callback's argument.
268268

269269
{% tabs %}
270270
{% highlight Dart %}

0 commit comments

Comments
 (0)