Skip to content

Commit 9071fda

Browse files
committed
In Signup folder added widgets folder and Signup4 page some changes
1 parent 56ed95b commit 9071fda

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

lib/page/signup/SignPageFour.dart

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -137,30 +137,34 @@ class _SignPageFourState extends State<SignPageFour> {
137137
Positioned(
138138
bottom: _media.height / 6.3,
139139
right: 15,
140-
child: InkWell(
141-
onTap: () => print("Tapped Login Button"),
142-
splashColor: Colors.red,
143-
child: Container(
144-
height: 50,
145-
width: 50,
146-
decoration: BoxDecoration(
147-
shape: BoxShape.circle,
148-
gradient: SIGNUP_CIRCLE_BUTTON_BACKGROUND,
149-
),
150-
child: Icon(
151-
Icons.arrow_forward,
152-
size: 26,
153-
color: Colors.white70,
154-
),
155-
),
156-
),
140+
child: signUpButton(),
157141
),
158142
],
159143
),
160144
),
161145
));
162146
}
163147

148+
Widget signUpButton() {
149+
return InkWell(
150+
onTap: () => print("Tapped Login Button"),
151+
splashColor: Colors.red,
152+
child: Container(
153+
height: 50,
154+
width: 50,
155+
decoration: BoxDecoration(
156+
shape: BoxShape.circle,
157+
gradient: SIGNUP_CIRCLE_BUTTON_BACKGROUND,
158+
),
159+
child: Icon(
160+
Icons.arrow_forward,
161+
size: 26,
162+
color: Colors.white70,
163+
),
164+
),
165+
);
166+
}
167+
164168
Widget inputText(
165169
String fieldName,
166170
String hintText,

0 commit comments

Comments
 (0)