syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.98k stars 775 forks source link

[syncfusion_flutter_datepicker 23.1.43] How do I make the size of the calendar smaller? #829

Closed ricoricc closed 11 months ago

ricoricc commented 1 year ago

The calendar takes all the space on the screen, I want it to make it like a showDialog box, is it possible to shrink the box size? Phone

PmPPolska commented 1 year ago

https://tieba.baidu.com/hottopic/browse/hottopic?topic_id=19295459

PmPPolska commented 1 year ago

Regards

IndumathiR-1995 commented 11 months ago

Hi ,

By using the DatePicker inside the Card widget, you can change the size of the picker with required size. Please find the code snippet for the same.

Code snippet:

              Card(
                margin: EdgeInsets.fromLTRB(50, 150, 50, 150),
                child: SfDateRangePicker(
                  view: DateRangePickerView.month,
                ),
              ),

Screenshot: image

Please let us know if you need further assistance.

Regards, Indumathi R