Upgrading flutter_slidable 3 to 4
Breaking3.1.2 → 4.0.3Platform1Fixed5
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- This version needs a newer Flutter SDK, 3.27.0 or later.
Must act 1 item needs code or config changes
Dart SDK requirement changed in 4.0.0: >=2.17.0 <4.0.0 → >=3.6.0 <4.0.0.
Flutter requirement changed in 4.0.0: >=3.7.0 → >=3.27.0.
What you must change
Platform1
Raises the minimum Flutter version to 3.27.0.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
ctor CustomSlidableAction({ super.key, this.flex = …, this.backgroundColor = …, this.foregroundColor, this.autoClose = …, this.borderRadius = …, this.padding, required this.onPressed, required this.child, }) → ctor CustomSlidableAction({ super.key, this.flex = …, this.backgroundColor = …, this.foregroundColor, this.autoClose = …, this.borderRadius = …, this.padding, this.alignment, required this.onPressed, required this.child, }) - changed:
ctor SlidableAction({ super.key, this.flex = …, this.backgroundColor = …, this.foregroundColor, this.autoClose = …, required this.onPressed, this.icon, this.spacing = …, this.label, this.borderRadius = …, this.padding, }) → ctor SlidableAction({ super.key, this.flex = …, this.backgroundColor = …, this.foregroundColor, this.autoClose = …, required this.onPressed, this.icon, this.spacing = …, this.label, this.borderRadius = …, this.padding, this.alignment, }) - added:
field CustomSlidableAction.alignment: final Alignment? - added:
field SlidableAction.alignment: final Alignment?