Compare commits
2 Commits
5738ebde4f
...
renovate/m
| Author | SHA1 | Date | |
|---|---|---|---|
|
6088fac358
|
|||
|
46d52b7c27
|
@@ -19,7 +19,7 @@ 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("org.jetbrains.kotlin.android") version "2.2.21" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
|
||||
@@ -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() {
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user