container width full screen flutter
width: MediaQuery.of(context).size.width,
container width full screen flutter
width: MediaQuery.of(context).size.width,
set container height flutter 25% of screen
MediaQuery.of(context).size.height * 0.25
flutter column min height screen sixe
import 'dart:math'; // for max function
// Add the following around your column
LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
return SingleChildScrollView(
child: ConstrainedBox(
constraints: BoxConstraints.tightFor(height: max(500, constraints.maxHeight)),
child: Column(), // your column
),
);
},
);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us