attendence login/logout has been implemented
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../widgets/app_background.dart';
|
||||
import '../../widgets/floatingnavbar.dart';
|
||||
import '../widgets/FloatingNavBar.dart';
|
||||
import 'attendence_screen.dart';
|
||||
import 'finance_screen.dart';
|
||||
import 'holiday_screen.dart';
|
||||
@@ -15,20 +15,17 @@ class MainPage extends StatefulWidget {
|
||||
class _MainPageState extends State<MainPage> {
|
||||
int _currentIndex = 0;
|
||||
|
||||
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final screenHeight = MediaQuery.sizeOf(context).height;
|
||||
// final screenHeight = MediaQuery.sizeOf(context).height;
|
||||
return Scaffold(
|
||||
body: Stack(
|
||||
children: [
|
||||
|
||||
/// BACKGROUND
|
||||
const AppBackground(child: SizedBox()),
|
||||
|
||||
/// ACTIVE SCREEN (fills entire screen - content will extend behind navbar)
|
||||
///
|
||||
///
|
||||
Positioned.fill(
|
||||
child: IndexedStack(
|
||||
index: _currentIndex,
|
||||
|
||||
Reference in New Issue
Block a user