I have a custom reaction bar like Facebook which open/close on click on, but i need to change it's size when click out side, or on list scroll in order to close it
any ideas for doing this?
for example the following code:
class TestClass extends StatefulWidget {
const TestClass({Key? key}) : super(key: key);
@override
_TestClassState createState() => _TestClassState();
}
class _TestClassState extends State<TestClass> {
@override
Widget build(BuildContext context) {
return Scaffold(body: ListView.builder(itemBuilder: (context,index){
return Container(height: 300,width: 200,child: Column(children: [
Text("On press test "),
Text("On press text 2"),
reactionsBar()
],),);
}),);
}
}