marquee icon indicating copy to clipboard operation
marquee copied to clipboard

Exception caught by rendering library

Open pkmangukiya opened this issue 5 years ago • 3 comments
trafficstars

i used: marquee: ^1.3.1

and i calling that like Marquee( text: 'Some sample text that takes some space.', )

but its a throw exception: Exception caught by rendering library The following assertion was thrown during performResize(): Horizontal viewport was given unbounded height.

pkmangukiya avatar May 02 '20 05:05 pkmangukiya

If you use Marquee in a Row or Column (if you scroll vertically) or another parent where there are no bounded constraints, you should probably wrap it in an Expanded widget. For more information about Flutter layout in general, here's a great guide: https://flutter.dev/docs/development/ui/layout

Does that solve your problem?

MarcelGarus avatar May 14 '20 21:05 MarcelGarus

@marcelgarus please make this in the README

yiss avatar May 30 '20 21:05 yiss

That's a really good idea. I'm currently quite busy with studying and work stuff, so it's probably gonna take some time before I find time to do that tho.

MarcelGarus avatar Jul 24 '20 07:07 MarcelGarus