import 'package:flutter/material.dart'; import 'package:openclosenew/07_addbusiness.dart'; class business extends StatefulWidget { const business({Key? key}) : super(key: key); @override State createState() => _businessState(); } class _businessState extends State { @override Widget build(BuildContext context) { return Scaffold( body: Column( children: [ Spacer(), Expanded( child: Image.asset('assets/images/businessstart.png'), ), Text( 'Let’s add your business...', style: TextStyle( fontSize: 15, color: Colors.black, ), ), Spacer(), Row( children: [ Padding( padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24), child: TextButton( onPressed: () {}, child: Text( "Skip", style: TextStyle(color: Colors.grey.shade600), ), ), ), SizedBox( width: 50, ), Expanded( child: Padding( padding: const EdgeInsets.only(left: 0, right: 24, bottom: 24), child: MaterialButton( height: 50, minWidth: double.infinity, color: Color(0xff12C193), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(4)), onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (_) => addbusiness())); }, child: Text( 'Add Now', style: TextStyle(color: Colors.white, fontSize: 15), ), ), ), ), ], ), ], ), ); } }