Flutter & Dart Notes
  • 🔷Flutter Tanıtım
  • Flutter
    • 🗺️Flutter RoadMap 2022
    • Flutter Konular
    • Bottons
    • Wigdet'i to Method
    • Expanded Widget
    • Navigation
      • Named Route
      • Navigation: ModalRoute.of()
      • Navigation: onGenerateRoute
    • Mobil Uygulama Başlarken Yapılacaklar
    • Flutter Manjaro Kurulum
  • Dart
    • Dart Notları
      • Değişkenler
      • Constant - Sabitlerled
      • İf & Switch yapısı
      • Döngüler
      • Bazı Hazır Komutlar
    • Dart Giriş Konuları
Powered by GitBook
On this page
  • Flutter Button Türleri:f
  • TextButton( ),

Was this helpful?

  1. Flutter

Bottons

Flutter Buttons

PreviousFlutter KonularNextWigdet'i to Method

Last updated 4 years ago

Was this helpful?

Flutter Button Türleri:f

TextButton( ),

Expanded(
            flex: 1,
            child: Padding(
              padding: const EdgeInsets.all(12.0),
              
              child: FlatButton(
                color: Colors.red,
                highlightColor: Colors.blue,
                splashColor: Colors.green,
                onPressed: () {
                  print('Çorba butonu tıklandı!');
                },
                child: Image.asset('images/yemekler/corba_1.jpg'),
              ),
            ),
          ),

TextButton

Yeni Widget

FlatButton

TextButton

RaisedButton

ElevatedButton

OutlineButton

OutlinedButton

Switch button

FloatingAction Button

Toggle Button

CheckBox

Radio Button

https://flutter.dev/docs/development/ui/widgets/material
https://material.io/components/buttons/flutter