import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("AppBar"),
                  brightness: Brightness.dark,
        backgroundColor: Colors.purple,
          leading: Icon(Icons.menu),
        actions: [
            IconButton(icon: Icon(Icons.ac_unit), onPressed: () {}),
            FlatButton.icon(
                onPressed: () {},
                icon: Icon(
                  Icons.person,
                  color: Colors.white,
                ),
                label: Text(
                  "Ayarlar",
                  style: TextStyle(color: Colors.white),
                ))
          ],
      ),
    );
  }
}


View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.