Flutter for web でアプリのランディング ページを作成しています。さまざまな画面サイズに対応するページを作成する必要があります。
MediaQuery
小さな画面のレイアウトを変更するために使用しているため、ウィジェットは垂直にレイアウトされます。
ただし、中サイズの画面レイアウトは横長です。そのため、画面を小さくするときにアプリのスクリーンショットのサイズを変更する必要があります。実行する方法?
これまでの私のコードは次のとおりです。
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
CenterText(),
SizedBox(height: 10),
Row(
children: <Widget>[
DownloadButtons() ],
),
],
),
Column(
children: <Widget>[
Screenshot(),
],
),
],
)