1-mashq. Har bir talaba Android Studio dasturini yuklab olish, oʻrnatish, sdk flutterni yuklab olib, oʻrnatish jarayonini koʻrsatib oʻtish va dokument sifatida saqlash


-mashq. Android Studio dasturida AssetsImage, NetworkImage, FullScreenNetworkImage widjedlaridan foydalanish va natijani skrenshot qilib joylash


Download 37.69 Kb.
bet3/3
Sana02.06.2024
Hajmi37.69 Kb.
#1836888
1   2   3
Bog'liq
2-amaliyot mobil ilovalar

5-mashq. Android Studio dasturida AssetsImage, NetworkImage, FullScreenNetworkImage widjedlaridan foydalanish va natijani skrenshot qilib joylash.
import 'package:flutter/material.dart';
// import 'package:full_screen_network_image/full_screen_network_image.dart';

void main() {


runApp(const MyApp());
}

class MyApp extends StatelessWidget {


const MyApp({super.key});

// This widget is the root of your application.


@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.greenAccent,
appBar: AppBar(
backgroundColor: Colors.indigo,
centerTitle: true,
title: Text("Avtomobillar"),
),
body: Image(
image: NetworkImage('https://www.autocar.co.uk/sites/autocar.co.uk/files/styles/gallery_slide/public/images/car-reviews/first-drives/legacy/rolls_royce_phantom_top_10.jpg?itok=XjL9f1tx'),
),
)

);

}


}

Download 37.69 Kb.

Do'stlaringiz bilan baham:
1   2   3




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