import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( // Application name title: 'Flutter Hello World', // Application theme data, you can set the colors for the application as // you want theme: ThemeData( // useMaterial3: false, primarySwatch: Colors.blue, ), // A widget which will be started on application startup home: MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatelessWidget { final String title; const MyHomePage({super.key, required this.title}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( // The title text which will be shown on the action bar title: Text(title), ), body: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Container( width: 150, height: 200, child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ ClipRRect( borderRadius: BorderRadius.circular( 10), // Görüntüye kenar yuvarlama ekleyebilirsiniz child: Image.network( "https://www.havauzay.org/wp-content/uploads/2020/06/Ucak.jpg", fit: BoxFit .cover, // Görüntüyü kutuya sığdırmak için BoxFit eklenebilir ), ), SizedBox(height: 10), // Görüntü ile yazı arasında boşluk Text( 'Airbus', style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold), ), Text( "Yer: Esenboğa", style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold), ), SizedBox( height: 10, ), TextButton( style: ButtonStyle( minimumSize: MaterialStateProperty.all( Size(200, 50)), // Set width and height here backgroundColor: MaterialStateProperty.all(Colors.blue), foregroundColor: MaterialStateProperty.all(Colors.black), ), onPressed: () {}, child: Text('Seçiniz'), ) ], ), ), Container( width: 150, height: 200, child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ ClipRRect( borderRadius: BorderRadius.circular( 10), // Görüntüye kenar yuvarlama ekleyebilirsiniz child: Image.network( "https://cdnuploads.aa.com.tr/uploads/Contents/2023/12/15/thumbs_b_c_cce73c042b1f2f50b436d6e37dd44c34.jpg?v=184240", fit: BoxFit .cover, // Görüntüyü kutuya sığdırmak için BoxFit eklenebilir ), ), SizedBox(height: 10), // Görüntü ile yazı arasında boşluk Text( 'Airbus', style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold), ), Text( "Yer: Hava", style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold), ), SizedBox( height: 10, ), TextButton( style: ButtonStyle( minimumSize: MaterialStateProperty.all( Size(200, 50)), // Set width and height here backgroundColor: MaterialStateProperty.all(Colors.blue), foregroundColor: MaterialStateProperty.all(Colors.black), ), onPressed: () {}, child: Text('Seçiniz'), ) ], ), ), ], )); } }