import 'package:flutter/material.dart'; import 'package:openclosenew/businessstart_page.dart'; import 'FontFamily.dart'; import 'colors.dart'; import 'fontsize.dart'; class thankyou extends StatelessWidget { const thankyou({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( body: SafeArea( child: Padding( padding: EdgeInsets.only(left: 24, right: 24, bottom: 24), child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Spacer(), Image.asset( 'assets/images/mobile.png', ), SizedBox( height: 24, ), Text( "Thank You!", style: TextStyle( fontFamily: Font, fontSize: TitleText, color: primaryColor, ), ), SizedBox( height: 24, ), Text( "Your mobile number verified successfully", style: TextStyle( fontFamily: Font, fontSize: HeadText, color: DarkGray, ), ), Spacer(), MaterialButton( height: 50, minWidth: double.infinity, color: primaryColor, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(4)), onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (_) => business())); }, child: Text( 'Let’s Explore', style: TextStyle( color: White, fontSize: HeadText, fontFamily: Font, ), ), ), ], ), ), ), ), ); } }