Hi! I am having a hardtime making this one work, I tried the default values and still gives me the same error.
Default Values:
- borderRadius : const DynamicBorderRadius.all(DynamicRadius.circular(Length(0))),
- borderSides = const RectangleBorderSides.all(DynamicBorderSide.none)},)
This is my code:
Container( height: 200, width: 200, // color: Colors.pink, alignment: Alignment.center, decoration: ShapeDecoration( shape: RoundedRectangleShapeBorder(), ), ), ],
Debug console:
════════ Exception caught by rendering library ═════════════════════════════════ 'package:morphable_shape/src/dynamic_path/border_paths.dart': Failed assertion: line 26 pos 12: 'outer.nodes.length == fillColors.length': is not true.
Hi! I am having a hardtime making this one work, I tried the default values and still gives me the same error.
Default Values:
This is my code:
Container( height: 200, width: 200, // color: Colors.pink, alignment: Alignment.center, decoration: ShapeDecoration( shape: RoundedRectangleShapeBorder(), ), ), ],Debug console:
════════ Exception caught by rendering library ═════════════════════════════════ 'package:morphable_shape/src/dynamic_path/border_paths.dart': Failed assertion: line 26 pos 12: 'outer.nodes.length == fillColors.length': is not true.