|
|
|
|
@ -46,6 +46,7 @@ class BookSuccess extends StatefulWidget {
|
|
|
|
|
|
|
|
|
|
class _BookSuccessState extends State<BookSuccess> {
|
|
|
|
|
AppSharedPreferences sharedPref = AppSharedPreferences();
|
|
|
|
|
|
|
|
|
|
// AuthenticatedUser authUser;
|
|
|
|
|
|
|
|
|
|
ProjectViewModel projectViewModel;
|
|
|
|
|
@ -156,6 +157,7 @@ class _BookSuccessState extends State<BookSuccess> {
|
|
|
|
|
return Container(
|
|
|
|
|
alignment: Alignment.bottomCenter,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.18,
|
|
|
|
|
margin: EdgeInsets.only(bottom: 24),
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
@ -166,10 +168,9 @@ class _BookSuccessState extends State<BookSuccess> {
|
|
|
|
|
minWidth: MediaQuery.of(context).size.width * 0.7,
|
|
|
|
|
height: 45.0,
|
|
|
|
|
child: CustomTextButton(
|
|
|
|
|
backgroundColor: Color(0xFF60686b),
|
|
|
|
|
backgroundColor: CustomColors.green,
|
|
|
|
|
elevation: 0,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
// navigateToQR(context);
|
|
|
|
|
getAppoQR(context);
|
|
|
|
|
},
|
|
|
|
|
child: Text(TranslationBase.of(context).viewQR.toUpperCase(), style: TextStyle(fontSize: 18.0, color: Colors.white)),
|
|
|
|
|
|