Comments (2)
Hi @Aljabri-Salman ,
Based on the provided information, we have checked the mentioned issue “View doesn’t update when changing the state”. Now, we have implemented the view property on the controller for dynamic view switching. Kindly use the view property of the CalendarController for dynamic view updates.
Code snippet:
CalendarController _controller;
@override
void initState() {
_controller = CalendarController();
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: SfCalendar(
view: CalendarView.day,
controller: _controller,
),
),
floatingActionButton: FloatingActionButton(
onPressed: () => _controller.view = CalendarView.week,
tooltip: 'Week View',
child: Icon(Icons.view_week),
),
);
}
Please find the changelog for the same.
Pub link: https://pub.dev/packages/syncfusion_flutter_calendar/changelog
We hope that this helps you. Please let us know if you need further assistance.
Regards,
Indumathi R
from flutter-widgets.
yes that worked. I didn't see it.
Many thanks.
from flutter-widgets.
Related Issues (20)
- Build failed - TextScaler - when upgraded above 22.2.12 HOT 4
- [syncfusion_flutter_sliders] range_slider_base.dart in RenderBaseRangeSlider.increasedEndValue type 'int' is not a subtype of type 'double' HOT 1
- Datagrid: custom headers HOT 1
- How to change the first interval? HOT 2
- [syncfusion_flutter_calendar] Taxt scale factor works incorrectly for dates HOT 3
- Funnel chart data source changed, layout not updated HOT 1
- [syncfusion_flutter_datagrid] when onCellDoubleTap is set, secondary tap clears current selection HOT 5
- [syncfusion_flutter_datagrid] I think loadMoreViewBuilder is somewhat opinionated HOT 4
- [syncfusion_flutter_calendar ]vertical scrolling issue in timeline views HOT 2
- [syncfusion_flutter_signaturepad] Add undo redo feature for more convenience HOT 1
- zValueMapper/errorValueMapper in ErrorBarSeries HOT 1
- Major bug on tap events on grouping enabled HOT 2
- StackedColumnSeries with different groupNames and yAxisName not working HOT 1
- About SfDataGrid Selected Rows
- SFCalendar gets smaller everytime i background the app HOT 1
- [syncfusion_flutter_charts] Poor performance when upgrade to lastest verion. HOT 6
- [Feature] SFDataGrid should provide onSortChanged callback HOT 2
- textScaler error HOT 6
- [syncfusion_flutter_charts] error render chart after update flutter and plugin - 'Null' is not a subtype of type 'String' of 'value' HOT 1
- [syncfusion_flutter_datagrid] handlePageChange method is call multiple time when load async data. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-widgets.