Materi yang Dipelajari dalam Pelatihan Junior Mobile Programmer Standar BNSP
11-Oct-2025
Pembuat : Admin Mobile Faculty
Kategori : Media Pembelajaran
import package:flutter/material.dart;
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: Notifikasi Cuaca,
home: WeatherApp(),
);
}
}
class WeatherApp extends StatefulWidget {
@override
_WeatherAppState createState() => _WeatherAppState();
}
class _WeatherAppState extends State<WeatherApp> {
final TextEditingController _locationController = TextEditingController();
String _weatherInfo = ;
void _getWeather() {
// Simulasi pengambilan data cuaca
setState(() {
String location = _locationController.text;
_weatherInfo = Cuaca di $location: Cerah dengan suhu 29°C;
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(Aplikasi Cuaca),
),
body: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
children: [
TextField(
controller: _locationController,
decoration: InputDecoration(labelText: Masukkan Lokasi),
),
ElevatedButton(
onPressed: _getWeather,
child: Text(Dapatkan Cuaca),
),
SizedBox(height: 20),
Text(_weatherInfo),
],
),
),
);
}
}
| Hari | Waktu | Materi |
|---|---|---|
| 1 | 09:00-10:30 | Pengenalan Mobile Programming |
| 1 | 10:30-12:00 | Dasar-Dasar Flutter dan Dart |
| 1 | 12:00-13:00 | Istirahat |
| 1 | 13:00-14:30 | Desain Antarmuka Pengguna (UI) |
| 1 | 14:30-16:00 | Praktik: Membuat Aplikasi Notifikasi Cuaca |
| 2 | 09:00-10:30 | Memahami API dan Integrasi |
| 2 | 10:30-12:00 | Manajemen State dan Navigasi di Flutter |
| 2 | 12:00-13:00 | Istirahat |
| 2 | 13:00-14:30 | Pengujian Aplikasi dan Debugging |
| 2 | 14:30-16:00 | Persiapan untuk Ujian Sertifikasi BNSP |