update
This commit is contained in:
parent
e3dc94a768
commit
08de65a681
8 changed files with 251 additions and 68 deletions
|
|
@ -1,10 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:gap/gap.dart';
|
||||
import 'package:pharmacy_mobile/blocs/guest/functions/bloc_setgueston.dart';
|
||||
import 'package:pharmacy_mobile/blocs/guest/guest_bloc.dart';
|
||||
import 'package:pharmacy_mobile/blocs/guest/guest_event.dart';
|
||||
import 'package:pharmacy_mobile/widgets/button_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/image_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
|
||||
|
|
@ -53,12 +50,12 @@ class IndexPage extends StatelessWidget {
|
|||
ButtonWidget(text: 'Login', onPressed: gotoLogin),
|
||||
const Gap(8),
|
||||
ButtonWidget(text: 'Register', onPressed: gotoRegister, outline: true),
|
||||
const Gap(16),
|
||||
const Gap(32),
|
||||
GestureDetector(
|
||||
onTap: loginAsGuest,
|
||||
child: const TextWidget(
|
||||
text: "Login as Guest",
|
||||
size: 12,
|
||||
size: 16,
|
||||
underlined: true,
|
||||
color: Color.fromRGBO(198, 133, 232, 1),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue