49 lines
1.3 KiB
Dart
49 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../../app/constant.dart';
|
|
|
|
class PresensiSelfieScreen extends StatelessWidget {
|
|
const PresensiSelfieScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: EdgeInsets.only(
|
|
top: Constant.getActualYPhone(context: context, y: 30),
|
|
),
|
|
child: Scaffold(
|
|
appBar: AppBar(
|
|
title: Text(
|
|
// 'Home Screen',
|
|
'Presensi',
|
|
overflow: TextOverflow.ellipsis,
|
|
style: TextStyle(
|
|
color: Constant.textBlack,
|
|
),
|
|
),
|
|
backgroundColor: Constant.textWhite,
|
|
iconTheme: IconThemeData(
|
|
color: Constant.textBlack,
|
|
),
|
|
// elevation: 1.0,
|
|
elevation: 0.5,
|
|
),
|
|
body: SafeArea(
|
|
child: Padding(
|
|
padding: EdgeInsets.only(
|
|
top: Constant.getActualYPhone(context: context, y: 58),
|
|
left: Constant.getActualXPhone(context: context, x: 33),
|
|
right: Constant.getActualXPhone(context: context, x: 27),
|
|
),
|
|
child: Container(
|
|
width: Constant.getActualXPhone(context: context, x: 390),
|
|
height: 100,
|
|
color: Colors.green,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|