DavideBelsole / great_list_view

pub.dev library for flutter
MIT License
41 stars 22 forks source link

white background when addLongPressReorderable: true #19

Closed Tarmslitaren closed 1 year ago

Tarmslitaren commented 2 years ago

if List items have no background or have transparent backgrounds, adding the addLongPressReorderable option will introduce a white background for the list items.

example using class Item extends StatelessWidget { @override Widget build(BuildContext context) { return AnimatedContainer( height: height, duration: const Duration(milliseconds: 500), decoration: const BoxDecoration( color: Colors.transparent, ), child: Text("hello"), ); }

Have I missed some option to style the reorder item widget?

in addition: When adding a reorderModel the addLongPressReorderable flag is supurflous: the longpress functionaliy is there anyway.

Tarmslitaren commented 2 years ago

Found solution: setting the App theme canvasColor to transparent does the trick.

DavideBelsole commented 1 year ago

OK