You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
car_provider_app/lib/pages/user/profile/profile_1_page.dart

71 lines
2.2 KiB
Dart

import 'package:car_provider_app/config/routes.dart';
import 'package:car_provider_app/utils/navigator.dart';
import 'package:car_provider_app/widgets/app_bar.dart';
import 'package:car_provider_app/widgets/extensions/int_extensions.dart';
import 'package:car_provider_app/widgets/extensions/string_extensions.dart';
import 'package:car_provider_app/widgets/show_fill_button.dart';
import 'package:car_provider_app/widgets/txt_field.dart';
import 'package:flutter/material.dart';
class Profile1Page extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: appBar(title: "Sign Up"),
body: Container(
width: double.infinity,
height: double.infinity,
child: SingleChildScrollView(
child: Padding(
padding: EdgeInsets.all(40),
child: Column(
children: [
"Complete Profile 1/3".toText16(),
"User Information".toText14(),
12.height,
TxtField(
hint: "Provider",
),
12.height,
TxtField(
hint: "First Name",
),
12.height,
TxtField(
hint: "Surname",
),
12.height,
TxtField(
hint: "Email",
),
12.height,
TxtField(
hint: "Create Password",
),
12.height,
TxtField(
hint: "Confirm Password",
),
12.height,
TxtField(
hint: "Phone Number",
),
50.height,
"By creating an account you agree to our Terms of Service and Privacy Policy".toText14(),
16.height,
ShowFillButton(
title: "Continue",
width: double.infinity,
onPressed: () {
navigateWithName(context, AppRoutes.profile2);
},
),
],
),
),
),
),
);
}
}