Skip to content

Commit a50673f

Browse files
author
Echonox
authored
Merge pull request #5 from kalismeras61/master
page 9 solved some problem and also change static widgets to reuseabl…
2 parents b893ea8 + d2a6834 commit a50673f

File tree

6 files changed

+183
-250
lines changed

6 files changed

+183
-250
lines changed

lib/const/string_const.dart

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
///
66
///
77
8-
///TODO need international.
98
class StringConst {
109
//strings
1110
static const String APP_NAME = "Flutter UI Nice";

lib/page/signup/SignPageEleven.dart

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'package:flutter/material.dart';
2+
import 'dart:async';
23
import 'package:flutter_ui_nice/const/color_const.dart';
34
import 'package:flutter_ui_nice/const/gradient_const.dart';
45
import 'package:flutter_ui_nice/const/images_const.dart';
@@ -42,6 +43,9 @@ class _SignPageElevenState extends State<SignPageEleven> {
4243
final _media = MediaQuery.of(context).size;
4344

4445
return Scaffold(
46+
appBar: SignupApbar(
47+
title: "CREATE ACCOUNT",
48+
),
4549
body: SingleChildScrollView(
4650
physics: BouncingScrollPhysics(),
4751
child: Stack(
@@ -60,13 +64,6 @@ class _SignPageElevenState extends State<SignPageEleven> {
6064
),
6165
Column(
6266
children: <Widget>[
63-
Stack(
64-
children: <Widget>[
65-
SignupApbar(
66-
title: "CREATE ACCOUNT",
67-
)
68-
],
69-
),
7067
SizedBox(
7168
height: 30,
7269
),
@@ -341,7 +338,7 @@ class _SignPageElevenState extends State<SignPageEleven> {
341338
flex: 2,
342339
child: Wrap(
343340
children: <Widget>[
344-
GestureDetector(
341+
FlatButton(
345342
child: Text(
346343
data,
347344
style: TextStyle(
@@ -351,7 +348,7 @@ class _SignPageElevenState extends State<SignPageEleven> {
351348
),
352349
overflow: TextOverflow.ellipsis,
353350
),
354-
onTap: function,
351+
onPressed: function,
355352
),
356353
],
357354
),

0 commit comments

Comments
 (0)