Answers for "flutter max width"

1

flutter width infinity

SizedBox(
  width: double.infinity,
  // height: double.infinity,
  child: RaisedButton(...),
)
Posted by: Guest on April-04-2021
0

how to make max height container flutter

new ConstrainedBox(
  constraints: new BoxConstraints(
    minHeight: 35.0,
    maxHeight: 60.0,
  ),
  child: ...child with growing content (has default height 25.0)...
),
Posted by: Guest on June-24-2021
0

how to give width based on screen size flutter

dependencies:
  flutter:
    sdk: flutter
  # add flutter_ScreenUtil
  flutter_screenutil: ^0.4.2
Posted by: Guest on September-28-2020

Browse Popular Code Answers by Language