Compare commits
3 Commits
ca52036bc4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
46d52b7c27
|
|||
|
5738ebde4f
|
|||
|
d1114db855
|
@@ -188,6 +188,8 @@ class SignMapScreenState extends State<SignMapScreen> {
|
|||||||
scrollGesturesEnabled: true,
|
scrollGesturesEnabled: true,
|
||||||
tiltGesturesEnabled: true,
|
tiltGesturesEnabled: true,
|
||||||
rotateGesturesEnabled: true,
|
rotateGesturesEnabled: true,
|
||||||
|
myLocationButtonEnabled: true,
|
||||||
|
compassEnabled: true,
|
||||||
mapType: MapType.normal,
|
mapType: MapType.normal,
|
||||||
onMapCreated: (controller) {
|
onMapCreated: (controller) {
|
||||||
mapController = controller;
|
mapController = controller;
|
||||||
|
|||||||
@@ -94,8 +94,9 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (mounted) {
|
||||||
FocusScope.of(context).unfocus(); // Close keyboard
|
FocusScope.of(context).unfocus(); // Close keyboard
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void _nextPage() {
|
void _nextPage() {
|
||||||
@@ -142,7 +143,7 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
|
|||||||
|
|
||||||
Widget _buildPageContent() {
|
Widget _buildPageContent() {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
height: MediaQuery.of(context).size.height * 0.25,
|
height: MediaQuery.of(context).size.height * 0.30,
|
||||||
child: PageView(
|
child: PageView(
|
||||||
controller: _pageController,
|
controller: _pageController,
|
||||||
physics: const NeverScrollableScrollPhysics(),
|
physics: const NeverScrollableScrollPhysics(),
|
||||||
@@ -175,7 +176,7 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (_predictions.isNotEmpty)
|
if (_predictions.isNotEmpty)
|
||||||
Container(
|
SizedBox(
|
||||||
height: 150,
|
height: 150,
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
itemCount: _predictions.length,
|
itemCount: _predictions.length,
|
||||||
@@ -206,9 +207,9 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
|
|||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
DropdownButtonFormField<String>(
|
DropdownButtonFormField<String>(
|
||||||
value: _selectedRadius,
|
value: _selectedRadius,
|
||||||
decoration: const InputDecoration(labelText: 'Search Radius'),
|
decoration: const InputDecoration(labelText: 'Search2 Radius'),
|
||||||
items:
|
items:
|
||||||
['1 mile', '2 miles', '5 miles']
|
['1/8 mile', '1/4 mile', '3/4 mile', '1 mile']
|
||||||
.map((e) => DropdownMenuItem(value: e, child: Text(e)))
|
.map((e) => DropdownMenuItem(value: e, child: Text(e)))
|
||||||
.toList(),
|
.toList(),
|
||||||
onChanged: (val) => setState(() => _selectedRadius = val),
|
onChanged: (val) => setState(() => _selectedRadius = val),
|
||||||
|
|||||||
Reference in New Issue
Block a user