Skip to content

Instantly share code, notes, and snippets.

@yusufbiberoglu
Created January 23, 2023 13:15
Show Gist options
  • Save yusufbiberoglu/5c39f733955637c53e74cedd660383ee to your computer and use it in GitHub Desktop.
Save yusufbiberoglu/5c39f733955637c53e74cedd660383ee to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
static const route = '/home';
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Flutter-Symfony Rest API'),
),
body: SafeArea(
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const [
Text(
'Home Screen',
style: TextStyle(fontSize: 20),
),
Text(
'Successfully logged',
style: TextStyle(fontSize: 20),
),
],
),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment