Schwusch / widget_arrows

Draw arrows between widgets in Flutter
https://pub.dev/packages/widget_arrows
MIT License
145 stars 14 forks source link

multiple arrows from the same widget #7

Closed veronica-pignotti closed 3 years ago

veronica-pignotti commented 4 years ago

Hi! How do I start multiple arrows from the same widget?

officialasit commented 3 years ago

Hi, did you get any solution for this ?

Schwusch commented 3 years ago

You have to nest ArrowElements as it is at the moment:

ArrowElement(
  id: 'foo',
  targetId: 'firstTarget',
  child: ArrowElement(
    id: 'bar',
    targetId: 'secondTarget',
    child: Text('Arrows and stuff'),
  ),
),
officialasit commented 3 years ago

Thanks @Schwusch