diff --git a/CHANGELOG.md b/CHANGELOG.md index 491f4f8..222a58b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,11 +12,11 @@ #### Breaking Changes The following `PanelController` methods now return `Future` instead of `void`: -- `close` -- `open` -- `hide` -- `show` -- `animatePanelToPosition` +- `close()` +- `open()` +- `hide()` +- `show()` +- `animatePanelToPosition(double value)` The following `PanelController` methods have changed to Dart properties to better reflect Dart language conventions: - `setPanelPosition()` -> `panelPosition` [as a setter] diff --git a/README.md b/README.md index 72b372c..cf324a2 100644 --- a/README.md +++ b/README.md @@ -508,11 +508,11 @@ Widget _body(){ `v1.0.0` introduced some breaking changes to the `PanelController` to better adhere to Dart language conventions. The changes are outlined below. The following `PanelController` methods now return `Future` instead of `void`: -- `close` -- `open` -- `hide` -- `show` -- `animatePanelToPosition` +- `close()` +- `open()` +- `hide()` +- `show()` +- `animatePanelToPosition(double value)` The following `PanelController` methods have changed to Dart properties to better reflect Dart language conventions: - `setPanelPosition()` -> `panelPosition` [as a setter]