20 lines
526 B
Dart
20 lines
526 B
Dart
// lib/features/home/presentation/home_screen.dart
|
|
import 'package:flutter/material.dart';
|
|
|
|
class HomeScreen extends StatelessWidget {
|
|
final String platformName;
|
|
final String appName = 'SoundLake';
|
|
|
|
const HomeScreen({super.key, required this.platformName});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(title: Text('Welcome to $appName on $platformName!')),
|
|
body: Center(
|
|
child: Text('This is the $platformName version of $appName.'),
|
|
),
|
|
);
|
|
}
|
|
}
|