“Mobil ilovalarni ishlab chiqish” fanidan


Download 1.58 Mb.
bet9/9
Sana14.04.2023
Hajmi1.58 Mb.
#1358106
1   2   3   4   5   6   7   8   9
Bog'liq
1-lab mobil

,
Colors.deepPurple,
Colors.deepPurple,
Colors.deepPurple,
Colors.black,
],
),
),
child: const Padding(
padding: EdgeInsets.symmetric(horizontal: 15),
child: Center(
child: Text(
'WEATHER',
style: TextStyle(
fontSize: 30,
fontWeight: FontWeight.w800,
color: Colors.white,
),
),
),
),
),
),
SizedBox(
width: 100,
child: Row(
children: [
IconButton(
onPressed: () async {
final city = await Navigator.of(context)
.pushNamed(SearchScreen.routeName);
if (city != null) {
getWeather(city as String);
}
},
icon: const Icon(
Icons.search,
color: Colors.white,
size: 25,
),
),
IconButton(
onPressed: () {
Navigator.of(context).pushNamed(SettingsScreen.routeName);
},
icon: const Icon(
Icons.settings,
color: Colors.white,
size: 25,
),
),
],
),
),
],
),
);
}
}

Foydalanilgan adabiyotlarlar va internet manbalar:


1. G. Blake Meike, Mike Dunn, Programming Android with Kotlin, O’Reilly Media, 2021, 532 p

  1. https://developer.android.com/docs

  2. https://www.tutorialkart.com/kotlin-android/

  3. https://github.com


Download 1.58 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling