ResponsiveFramework
ResponsiveFramework copied to clipboard
Alignment of ResponsiveWrapper not working
Hello,
Alignment parameter doesn't seem to have any effect for me. This is a sample to reproduce the problem:
class SampleNotWorking extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
color: Colors.green,
child: ResponsiveWrapper.builder(
Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height - 200,
color: Colors.red),
alignment: Alignment.bottomCenter));
}
}
I would expect the red box to be aligned at the bottom center (I also tried with other values with no luck) but it is always centered instead:

Thank you for filing this issue. I don't know what the issue is off the top of my head and will try to take a look next week.