initialMonth property

DateTime initialMonth
final

The initial month to display.

Subsequently changing this has no effect. To change the selected month, change the key to create a new instance of the _MonthPicker, and provide that widget the new initialMonth. This will reset the widget's interactive state.

Implementation

final DateTime initialMonth;