Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
Byodv2
Project
Project
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
Dio Maulana
Byodv2
Commits
9473759f
Commit
9473759f
authored
Sep 18, 2022
by
Dio Maulana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed for loading load
parent
b99ba798
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
182 additions
and
180 deletions
+182
-180
menu_list_utama.dart
lib/ui/home/menu_list_utama.dart
+6
-17
new_home2.dart
lib/ui/home/new_home2.dart
+176
-163
No files found.
lib/ui/home/menu_list_utama.dart
View file @
9473759f
...
@@ -24,34 +24,22 @@ class MenuListUtama extends StatelessWidget {
...
@@ -24,34 +24,22 @@ class MenuListUtama extends StatelessWidget {
required
this
.
i
,
required
this
.
i
,
required
this
.
widthScreen
,
required
this
.
widthScreen
,
required
this
.
scrollController
,
required
this
.
scrollController
,
required
this
.
idCategory
,
})
:
super
(
key:
key
);
})
:
super
(
key:
key
);
final
List
<
FilterMenu
>
categoryNonFav
;
final
List
<
FilterMenu
>
categoryNonFav
;
final
int
i
;
final
int
i
;
final
double
widthScreen
;
final
double
widthScreen
;
final
ScrollController
scrollController
;
final
ScrollController
scrollController
;
final
String
idCategory
;
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Column
(
return
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
children:
[
(
categoryNonFav
[
i
].
type
==
typeCategory
)
(
categoryNonFav
[
i
].
type
==
typeGroup
&&
?
defaultText
(
categoryNonFav
[
i
].
categoryId
==
idCategory
)
context
,
categoryNonFav
[
i
].
categoryName
,
maxLines:
1
,
overFlow:
TextOverflow
.
ellipsis
,
style:
categoryNameStyle
(),
)
:
const
SizedBox
(),
(
categoryNonFav
[
i
].
type
==
typeCategory
)
?
const
Divider
(
thickness:
0.5
,
color:
textColorBlack
,
)
:
const
SizedBox
(),
(
categoryNonFav
[
i
].
type
==
typeGroup
)
?
Container
(
?
Container
(
margin:
const
EdgeInsets
.
only
(
margin:
const
EdgeInsets
.
only
(
top:
6
,
top:
6
,
...
@@ -65,7 +53,8 @@ class MenuListUtama extends StatelessWidget {
...
@@ -65,7 +53,8 @@ class MenuListUtama extends StatelessWidget {
),
),
)
)
:
const
SizedBox
(),
:
const
SizedBox
(),
(
categoryNonFav
[
i
].
type
==
typeMenu
)
(
categoryNonFav
[
i
].
type
==
typeMenu
&&
categoryNonFav
[
i
].
categoryId
==
idCategory
)
?
Container
(
?
Container
(
margin:
EdgeInsets
.
only
(
margin:
EdgeInsets
.
only
(
top:
19
,
top:
19
,
...
...
lib/ui/home/new_home2.dart
View file @
9473759f
This diff is collapsed.
Click to expand it.
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