> For the complete documentation index, see [llms.txt](https://haluk-hackali.gitbook.io/flutter-dart-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://haluk-hackali.gitbook.io/flutter-dart-notes/flutter/bottons.md).

# Bottons

## Flutter Button Türleri:f

<https://flutter.dev/docs/development/ui/widgets/material>

<https://material.io/components/buttons/flutter>

### TextButton( ),

```dart
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          |                |
