step 10 : check distance selfie or not from back end

This commit is contained in:
sindhu
2024-01-26 10:53:46 +07:00
parent 757b72a9f0
commit 1af974881a
10 changed files with 751 additions and 159 deletions

View File

@@ -0,0 +1,48 @@
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,
),
),
),
),
);
}
}