Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
feelver
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2F-ART
feelver
Commits
600ae026
Commit
600ae026
authored
Jul 01, 2020
by
Mobile : Ball (Apprentice)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ebc14b30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
lib/ui/favorite/favorite.dart
+11
-4
lib/ui/payment/payment_page.dart
+3
-0
No files found.
lib/ui/favorite/favorite.dart
View file @
600ae026
...
...
@@ -10,6 +10,7 @@ class Favorite extends StatefulWidget {
class
_FavoriteState
extends
State
<
Favorite
>
{
bool
checkBoxValue
=
false
;
int
a
=
1
;
@override
Widget
build
(
BuildContext
context
)
{
...
...
@@ -44,7 +45,7 @@ class _FavoriteState extends State<Favorite> {
),
color:
Color
(
0xFF3694A3
),
child:
Text
(
'
ยืนย
ัน'
,
'
เพิ่มลงในตระกร้าของฉ
ัน'
,
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
16
),
fontWeight:
FontWeight
.
bold
,
...
...
@@ -247,13 +248,17 @@ class _FavoriteState extends State<Favorite> {
child:
Text
(
'-'
),
padding:
EdgeInsets
.
only
(
right:
0
),
onPressed:
()
{},
onPressed:
()
{
setState
(()
{
a
=
a
-
1
;
});
},
),
),
Padding
(
padding:
const
EdgeInsets
.
only
(
right:
8
,
left:
8
),
child:
Text
(
'
1
'
),
child:
Text
(
'
$a
'
),
),
SizedBox
(
width:
20.0
,
...
...
@@ -262,7 +267,9 @@ class _FavoriteState extends State<Favorite> {
child:
Text
(
'+'
),
padding:
EdgeInsets
.
only
(
right:
0
),
onPressed:
()
{},
onPressed:
()
{
a
=
a
+
1
;
},
),
),
],
...
...
lib/ui/payment/payment_page.dart
View file @
600ae026
...
...
@@ -11,6 +11,9 @@ class Payment extends StatefulWidget {
}
class
_PaymentState
extends
State
<
Payment
>
{
int
a
=
1
;
@override
Widget
build
(
BuildContext
context
)
{
SizeConfig
(
context
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment