Change design
This commit is contained in:
parent
61586ef169
commit
e3a6171ed3
@ -370,8 +370,12 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
child: CupertinoSearchTextField(
|
||||
controller: searchBarInput,
|
||||
suffixMode: OverlayVisibilityMode.never,
|
||||
backgroundColor: Colors.white.withOpacity(0.9),
|
||||
placeholder: 'Search city based',
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
color: Colors.white.withOpacity(0.9),
|
||||
boxShadow: const [BoxShadow(color: Color(0x20000000), offset: Offset(0, 1), blurRadius: 4)]
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
@ -396,7 +400,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
Positioned(
|
||||
right: 2,
|
||||
bottom: 40,
|
||||
bottom: 50,
|
||||
child:
|
||||
SizedBox(
|
||||
width: 50,
|
||||
@ -408,19 +412,23 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
Icons.circle,
|
||||
color: Colors.white,
|
||||
size: 48.0,
|
||||
shadows: [BoxShadow(color: Color(0x20000000), offset: Offset(0, 1), blurRadius: 4)],
|
||||
),
|
||||
IconButton(
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(3),
|
||||
child: IconButton(
|
||||
icon: const Icon(
|
||||
Icons.location_searching,
|
||||
color: Colors.blue,
|
||||
size: 36.0,
|
||||
size: 28.0,
|
||||
),
|
||||
onPressed: () {
|
||||
_getCurrentLocation();
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user