In flutter 2.0, a Chip requires a OutlinedBorder. For this plugin to keep working with the Chip (and potentially other) classes, the PolygonBorderclass should extend OutlinedBorder.
I implemented and tested the change. I will create a pull-request later tomorrow.
The necessary changes are:
extend OutlinedBorder instead of ShapeBorder
use the OutlinedBorder side variable instead of the border variable that is used right now
In flutter 2.0, a
Chip
requires aOutlinedBorder
. For this plugin to keep working with theChip
(and potentially other) classes, thePolygonBorder
class should extendOutlinedBorder
.I implemented and tested the change. I will create a pull-request later tomorrow.
The necessary changes are:
OutlinedBorder
instead ofShapeBorder
OutlinedBorder
side variable instead of theborder
variable that is used right now