register_form - cleanup
This commit is contained in:
parent
bd403a3232
commit
8554b18c2e
2 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:nekoya_flutter/screens/checkout.dart';
|
||||
import 'package:nekoya_flutter/screens/login.dart';
|
||||
import 'dart:math' as math;
|
||||
|
||||
|
@ -67,7 +68,7 @@ class _MenuState extends State<Menu> {
|
|||
} else if (index == 2) {
|
||||
_selectedWidget = const Products();
|
||||
} else if (index == 3) {
|
||||
_selectedWidget = const Cart();
|
||||
_selectedWidget = const Checkout();
|
||||
} else if (index == 4) {
|
||||
_selectedWidget = const Register();
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ Widget makeInput({label, obscureText = false, icon = Icons.email}) {
|
|||
decoration: BoxDecoration(
|
||||
color: const Color(0xff1b1c1e),
|
||||
borderRadius: BorderRadius.circular(10.0),
|
||||
boxShadow: [
|
||||
boxShadow: const [
|
||||
BoxShadow(
|
||||
color: Colors.black12,
|
||||
blurRadius: 6.0,
|
||||
|
@ -205,9 +205,9 @@ Widget makeInput({label, obscureText = false, icon = Icons.email}) {
|
|||
icon,
|
||||
color: Colors.white,
|
||||
),
|
||||
contentPadding: EdgeInsets.only(top: 14.0),
|
||||
contentPadding: const EdgeInsets.only(top: 14.0),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
borderSide: const BorderSide(
|
||||
color: Colors.red,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(10.0)),
|
||||
|
|
Loading…
Add table
Reference in a new issue