import 'package:flutter/material.dart'; import 'package:openclosenew/colors.dart'; import '14_businessdetailsempty.dart'; import 'FontFamily.dart'; import 'fontsize.dart'; class profileformsuccess extends StatelessWidget { const profileformsuccess({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( appBar: null, body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Spacer(), Image.asset( 'assets/images/success_vector.png', color: primaryColor, width: 100, height: 100, ), Align( alignment: Alignment.center, child: Text( 'Awesome!', style: TextStyle( fontFamily: Font, fontStyle: FontStyle.normal, fontWeight: FontWeight.w400, fontSize: TitleText, color: primaryColor, ), ), ), Text( 'Your business profile completed successfully!', style: TextStyle( fontFamily: Font, fontStyle: FontStyle.normal, fontWeight: FontWeight.w400, fontSize: HeadText, color: DarkGray, ), ), Spacer(), Padding( padding: const EdgeInsets.only(left: 24, right: 24, bottom: 24), child: MaterialButton( height: 50, minWidth: double.infinity, color: primaryColor, onPressed: () { Navigator.push( context, MaterialPageRoute( builder: (_) => businessdetailsempty())); }, child: Text( 'Go to Business', style: TextStyle( fontFamily: Font, fontStyle: FontStyle.normal, fontWeight: FontWeight.w600, fontSize: HeadText, color: White), ), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(5), ), ), ), ], ), ), ); } }