SizedBox
MaterialApp({ title,theme, home: Scaffold({ appBar, body: SizedBox( width,height, child ), }),... })
açıklama
Sabit boyutlu bir kutu oluşturur. width ve height degerleri verilirse child width ve height degerleri geçersiz olur.
konum
MaterialApp({ title,theme, home: Scaffold({ appBar, body: SizedBox( width, height, child ), }),... })
parametreler
SizedBox(
width: 200.0,
height: 300.0,
child: const Card(child: Text('Hello World!')),
)