You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dafl_music/Sources/dafl_project_flutter/lib/views/location.dart

36 lines
851 B

import 'package:flutter/material.dart';
class LocationPage extends StatefulWidget {
@override
State<LocationPage> createState() => _LocationPageState();
}
class _LocationPageState extends State<LocationPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text("Location Page")),
body: SafeArea(
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text('LAT: '),
const Text('LNG: '),
const Text('ADDRESS: '),
const SizedBox(height: 32),
ElevatedButton(
onPressed: () {},
child: const Text("Get Current Location"),
)
],
),
),
),
);
}
}