Skip to content

Exception caught from RoundedRectangleShapeBorder #16

@dev-zyrushiyao

Description

@dev-zyrushiyao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions