80 lines
2.2 KiB
Dart
80 lines
2.2 KiB
Dart
|
import 'package:flutter/cupertino.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class addbusiness extends StatelessWidget {
|
||
|
const addbusiness({Key? key}) : super(key: key);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
body: Column(
|
||
|
children: [
|
||
|
SizedBox(
|
||
|
height: 50,
|
||
|
),
|
||
|
Padding(
|
||
|
padding: const EdgeInsets.only(left: 24, right: 24),
|
||
|
child: Row(
|
||
|
children: [
|
||
|
IconButton(
|
||
|
icon: Icon(Icons.arrow_back, size: 24),
|
||
|
onPressed: () {
|
||
|
Navigator.pop(context);
|
||
|
},
|
||
|
),
|
||
|
SizedBox(
|
||
|
width: 20,
|
||
|
),
|
||
|
Text(
|
||
|
'Add Business',
|
||
|
style: TextStyle(
|
||
|
fontSize: 15,
|
||
|
color: Color(0xff3D3D3D),
|
||
|
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
||
|
),
|
||
|
)
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
Column(
|
||
|
children: [
|
||
|
CircleAvatar(
|
||
|
radius: 80,
|
||
|
backgroundImage: AssetImage('assets/images/img_icon.png'),
|
||
|
backgroundColor: Colors.white,
|
||
|
),
|
||
|
SizedBox(
|
||
|
height: 5,
|
||
|
),
|
||
|
Padding(
|
||
|
padding: const EdgeInsets.only(left: 24, right: 265),
|
||
|
child: Text(
|
||
|
'Business Name',
|
||
|
textAlign: TextAlign.start,
|
||
|
),
|
||
|
),
|
||
|
SizedBox(
|
||
|
height: 10,
|
||
|
),
|
||
|
Padding(
|
||
|
padding: const EdgeInsets.only(left: 24, right: 24),
|
||
|
child: TextField(
|
||
|
decoration: InputDecoration(
|
||
|
border: OutlineInputBorder(
|
||
|
borderRadius: BorderRadius.circular(10.0),
|
||
|
),
|
||
|
hintText: 'Type here...',
|
||
|
hintStyle: TextStyle(
|
||
|
color: Color(0xff3D3D3D),
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
)
|
||
|
],
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|