4 Commits

Author SHA1 Message Date
3dd4219bc7 Update all non-major dependencies 2025-12-11 09:12:54 +00:00
46d52b7c27 Change distances to fractions of a mile
replace container with sizedbox
add check for context being mounted.
2025-04-22 13:24:46 -07:00
5738ebde4f ensure that show my location button and compass show 2025-04-21 23:39:59 -07:00
d1114db855 make pop up dialog slightly larger to support autocomplete list showing 2025-04-21 23:39:22 -07:00
4 changed files with 12 additions and 9 deletions

View File

@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip

View File

@@ -18,8 +18,8 @@ pluginManagement {
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.22" apply false
id("com.android.application") version "8.13.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.25" apply false
}
include(":app")

View File

@@ -188,6 +188,8 @@ class SignMapScreenState extends State<SignMapScreen> {
scrollGesturesEnabled: true,
tiltGesturesEnabled: true,
rotateGesturesEnabled: true,
myLocationButtonEnabled: true,
compassEnabled: true,
mapType: MapType.normal,
onMapCreated: (controller) {
mapController = controller;

View File

@@ -94,8 +94,9 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
);
});
}
FocusScope.of(context).unfocus(); // Close keyboard
if (mounted) {
FocusScope.of(context).unfocus(); // Close keyboard
}
}
void _nextPage() {
@@ -142,7 +143,7 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
Widget _buildPageContent() {
return SizedBox(
height: MediaQuery.of(context).size.height * 0.25,
height: MediaQuery.of(context).size.height * 0.30,
child: PageView(
controller: _pageController,
physics: const NeverScrollableScrollPhysics(),
@@ -175,7 +176,7 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
),
),
if (_predictions.isNotEmpty)
Container(
SizedBox(
height: 150,
child: ListView.builder(
itemCount: _predictions.length,
@@ -206,9 +207,9 @@ class CustomDialogBoxState extends State<CustomDialogBox> {
const SizedBox(height: 10),
DropdownButtonFormField<String>(
value: _selectedRadius,
decoration: const InputDecoration(labelText: 'Search Radius'),
decoration: const InputDecoration(labelText: 'Search2 Radius'),
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)))
.toList(),
onChanged: (val) => setState(() => _selectedRadius = val),