You are on page 1of 1

import 'package:bikers_go_couriers/global/global.

dart';
import 'package:bikers_go_couriers/splashScreen/splash_screen.dart';
import 'package:flutter/material.dart';

class ProfileTabPage extends StatefulWidget {


const ProfileTabPage({Key? key}) : super(key: key);

@override
_ProfileTabPageState createState() => _ProfileTabPageState();
}

class _ProfileTabPageState extends State<ProfileTabPage> {


@override
Widget build(BuildContext context) {
return Center(
child: ElevatedButton(
child: const Text(
"Sair",
),
onPressed: ()
{
fAuth.signOut();
Navigator.push(context, MaterialPageRoute(builder: (c)=> const
MySplashScreen()));
},
),
);
}
}

You might also like