Chris1234567899 / flutter_time_range_picker

A time range picker for Flutter
MIT License
33 stars 53 forks source link

export setAngles method to reload angles #34

Closed TiagoHellebrandt closed 2 years ago

TiagoHellebrandt commented 2 years ago

Trying to solve the problem of externally updating the start and end, I created the setAngles method, which defines the angles, code moved from the initState method earlier, I removed the state (TimeRangePickerState) from the TimeRangePicker widget for the state to be accessible in other classes via GlobalKey.