Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:firebase_messaging/firebase_messaging.dart';
- import 'package:flutter/material.dart';
- import 'package:plantual_1/firebaseServices/splashServices.dart';
- import 'dart:math' as math;
- class splashScreen extends StatefulWidget {
- const splashScreen({super.key});
- @override
- State<splashScreen> createState() => _splashScreenState();
- }
- class _splashScreenState extends State<splashScreen> with TickerProviderStateMixin {
- splashServices splashscreen = splashServices();
- @override
- void initState() {
- // TODO: implement initState
- super.initState();
- splashscreen.isLogin(context);
- }
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- body: SafeArea(
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- crossAxisAlignment: CrossAxisAlignment.center,
- children: [
- Row(
- mainAxisAlignment: MainAxisAlignment.center,
- children: [
- Container(
- height: 240,
- child: Image.asset('assets/output-onlinegiftools (1).gif'),
- ),
- ],
- ),
- ],
- )
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement