Telekоmmunikаtsiyа sоhаsidаgi аtаmа vа terminlаrning izоhli lug‘аt dаsturiy tа’minоtini ishlаb chiqish


Download 20.5 Kb.
Sana18.06.2023
Hajmi20.5 Kb.
#1580624
Bog'liq
dep-materiallar-varaq


Deponentlanadigan materiallarning titul varag‘i
EHM uchun dastur (Ma’lumotlar bazasi) nomi:
Telekоmmunikаtsiyа sоhаsidаgi аtаmа vа terminlаrning izоhli lug‘аt dаsturiy tа’minоtini ishlаb chiqish

Huquq ega(lar)si :



  1. Yusufjon Toshpulatov

  2. Hotamov Abdug’afur

  3. Toshpulatova Dilfuza

Muallif(lar):



  1. Yusufjon Toshpulatov

  2. Hotamov Abdug’afur

  3. Toshpulatova Dilfuza


EHM uchun dasturni identifikatsiya qiluvchi materiallar dastlabki matni (Dastur kodi)
import 'package:bottom_bar/bottom_bar.dart';
import 'package:flutter/material.dart';
import 'package:latex_uz/scren/profile.dart';
import 'package:latex_uz/scren/settings.dart';

import 'info.dart';

class HomePage extends StatefulWidget {
const HomePage({super.key});

@override
State createState() => _HomePageState();
}

class _HomePageState extends State {
int _currentPage = 0;
final _pageController = PageController();
@override
Widget build(BuildContext context) {
return Scaffold(
body: PageView(
controller: _pageController,
children: [Info(), Profile(), Settings()],
onPageChanged: (index) {
// Use a better state management solution
// setState is used for simplicity
setState(() => _currentPage = index);
},
),
bottomNavigationBar: BottomBar(
selectedIndex: _currentPage,
onTap: (int index) {
_pageController.jumpToPage(index);
setState(() => _currentPage = index);
},
items: [
BottomBarItem(
icon: Icon(Icons.home),
title: Text('Malumotlar'),
activeColor: Colors.blue,
),
BottomBarItem(
icon: Icon(Icons.person),
title: Text('Yaratuvchilar'),
activeColor: Colors.greenAccent.shade700,
),
BottomBarItem(
icon: Icon(Icons.settings),
title: Text('Sozlamalar'),
activeColor: Colors.orange,
),
],
),
);
}
}


Download 20.5 Kb.

Do'stlaringiz bilan baham:




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