I tried these packages Sizer/screenUtil for making responsive but its not doing the same as i want. Plz help me to get out from this.
CodePudding user response:
Hello did you try using MediaQuery class?
https://api.flutter.dev/flutter/widgets/MediaQuery-class.html
Hope it helps you out.
CodePudding user response:
You can add mainAxisAlignment:
with the property such as mainAxisAlignment: MainAxisAlignment.spaceEvenly,
or like mainAxisAlignment: MainAxisAlignment.spaceBetween,
on the Row()
or Column()
you're using .
it should be at least usable while the flutter packages like ScreenUtil()
or Sizer()
didnt work, and also Note: This plugin is still under development, and some APIs might not be available yet.
this msg is written on the flutter.pub.get website so its better to use others while it isnt working properly.