Categories
Mastering Development

how to change background image in flutter according to parameter

I am very new to Flutter (and programming in general) and am building a story app where I would like the background image (to background2.png, background3.png etc) to change depending on the answer to the story continuation question selected by the user (please see pic). I have tried to incorporate an ‘if then’ statement in […]

Categories
Mastering Development

Flutter bottom overflowed by n pixels with end aligned column

I’m trying to display a simple sign up screen in Flutter but I’m having a bottom overflowed by n pixels error when the keyboard is displayed. My Flutter Widget: class SignUpScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: Padding( padding: const EdgeInsets.all(16), child: SafeArea( child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, mainAxisAlignment: MainAxisAlignment.end, mainAxisSize: […]