Add Dialog with Pageview to select new house, and then drop a pin where the house is, then zoom map to that area.
This commit is contained in:
28
lib/screens/list_property/signs_and_radius.dart
Normal file
28
lib/screens/list_property/signs_and_radius.dart
Normal file
@@ -0,0 +1,28 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
Widget buildSummaryPage(
|
||||
TextEditingController addressController,
|
||||
TextEditingController signsController,
|
||||
String? selectedRadius,
|
||||
void Function() nextPage,
|
||||
) {
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const Text("Summary", style: TextStyle(fontWeight: FontWeight.bold)),
|
||||
const SizedBox(height: 10),
|
||||
Text("Address: ${addressController.text}"),
|
||||
Text("Signs: ${signsController.text}"),
|
||||
Text("Radius: ${selectedRadius ?? 'Not selected'}"),
|
||||
const SizedBox(height: 20),
|
||||
const Spacer(),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
TextButton(onPressed: nextPage, child: const Text("Finish")),
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user