mirrored_repositories/Flutter-Lecture-Notes/Projects/architecht02/lib
import 'package:flutter/material.dart';

class FirstScreen extends StatelessWidget {
  const FirstScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Ana Sayfa"),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: (){
            Navigator.pushNamed(context, '/ikinciSayfa');
          },
          child: Text("Ikinci sayfaya gecis yapiniz"),
        ),
      ),
    );
  }
}
