import 'package:flutter/material.dart'; class HomeScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('PANGLING'), backgroundColor: Colors.red, ), body: Padding( padding: const EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'Pangkas Rambut Keliling', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), ), SizedBox(height: 20), ElevatedButton( onPressed: () { Navigator.pushNamed(context, '/booking'); }, child: Text('Pesan Tukang Cukur'), style: ElevatedButton.styleFrom( backgroundColor: Colors.blue, foregroundColor: Colors.white, padding: EdgeInsets.symmetric(vertical: 15, horizontal: 20), ), ), SizedBox(height: 20), Text( 'Kategori Layanan:', style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Column( children: [ ListTile( leading: Icon(Icons.person), title: Text('Cowo Dewasa'), ), ListTile( leading: Icon(Icons.emoji_people), title: Text('Remaja'), ), ListTile( leading: Icon(Icons.child_care), title: Text('Anak-anak'), ), ], ), ], ), ), ); } }