... Container( // Genişlik width: 200, // Yükseklik height: 300, // Renk color: Colors.red, // Hizalama alignment: Alignment.topLeft, // İçten boşluk padding: EdgeInsets.all(10), // Dıştan boşluk margin: EdgeInsets.all(20), // Container içerisine // child: parametresi ile başka herhangi bir widget eklenebilir, // o widget Container içerisinde görüntülenir. child: Text( 'Container...', style: TextStyle(color: Colors.black, fontSize: 20), ), ), ...
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter