|
|
|
|
import 'package:car_customer_app/utils/utils.dart';
|
|
|
|
|
import 'package:car_customer_app/widgets/app_bar.dart';
|
|
|
|
|
import 'package:car_customer_app/widgets/show_fill_button.dart';
|
|
|
|
|
import 'package:car_customer_app/extensions/int_extensions.dart';
|
|
|
|
|
import 'package:car_customer_app/extensions/string_extensions.dart';
|
|
|
|
|
import 'package:car_customer_app/extensions/widget_extensions.dart';
|
|
|
|
|
import 'package:car_customer_app/widgets/txt_field.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
class RegisterPage extends StatelessWidget {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Scaffold(
|
|
|
|
|
appBar: appBar(title: "Sign Up"),
|
|
|
|
|
body: Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: double.infinity,
|
|
|
|
|
padding: EdgeInsets.all(40),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
"Enter Phone Number".toText24(),
|
|
|
|
|
|
|
|
|
|
12.height,
|
|
|
|
|
TxtField(
|
|
|
|
|
hint: "Enter Phone number to Register",
|
|
|
|
|
),
|
|
|
|
|
TxtField(
|
|
|
|
|
hint: "Enter Phone number to Register",
|
|
|
|
|
),
|
|
|
|
|
40.height,
|
|
|
|
|
"Or Enter Email".toText24(),
|
|
|
|
|
12.height,
|
|
|
|
|
|
|
|
|
|
TxtField(
|
|
|
|
|
hint: "Enter Email to Register",
|
|
|
|
|
),
|
|
|
|
|
50.height,
|
|
|
|
|
ShowFillButton(
|
|
|
|
|
title: "Continue",
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
onPressed: () {},
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|