This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:carousel_slider/carousel_slider.dart'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
class CarouselExample extends StatefulWidget{ | |
const CarouselExample({ Key key }) : super(key: key); | |
@override | |
_CarouselExampleState createState() => _CarouselExampleState(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class KaryawanModel | |
{ | |
final int id; | |
final String nama; | |
final String telp; | |
final String email; | |
final int department; | |
final int jabatan; | |
KaryawanModel({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'dart:io' as io; | |
import 'package:belajar_flutter_karywan_app/Model/KaryawanModel.dart'; | |
import 'package:path/path.dart'; | |
import 'package:sqflite/sqflite.dart'; | |
import 'package:path_provider/path_provider.dart'; | |
class DbLite{ | |
static final DbLite _instance = new DbLite.internal(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:belajar_flutter_karywan_app/MainMenu.dart'; | |
import 'package:belajar_flutter_karywan_app/Model/KaryawanModel.dart'; | |
import 'package:belajar_flutter_karywan_app/Repository/DbLite.dart'; | |
import 'package:belajar_flutter_karywan_app/WidgetHelper/PopupHelper.dart'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
class Karyawan extends StatefulWidget { | |
const Karyawan({Key key}) : super(key: key); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
class PopupHelper { | |
void alertDialogCuprtino(BuildContext context, String sType){ | |
showDialog( | |
context: context, | |
barrierDismissible: false, | |
builder: (BuildContext context) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:belajar_flutter_karywan_app/MainMenu.dart'; | |
import 'package:belajar_flutter_karywan_app/SplashScreen.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ResultModel | |
{ | |
final String responsecode; | |
final String responsemessage ; | |
final List responsedata ; | |
ResultModel({ | |
this.responsecode, | |
this.responsemessage, | |
this.responsedata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AttendanceModel { | |
final int id; | |
final String userid; | |
final String username; | |
final String checkinday; | |
final String checkindate; | |
final String checkinworked; | |
final String checkinstart; | |
final String checkinend; | |
final String photo; |
OlderNewer