Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
Movie-app
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
Movie-app
Commits
517cf4ad
Commit
517cf4ad
authored
Feb 14, 2022
by
Dio Maulana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
belajar
parent
d29370ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
179 additions
and
1 deletion
+179
-1
main_page.dart
lib/pages/main_page.dart
+179
-1
No files found.
lib/pages/main_page.dart
View file @
517cf4ad
import
'package:carousel_slider/carousel_slider.dart'
;
import
'package:flutter/material.dart'
;
class
MainPages
extends
StatefulWidget
{
...
...
@@ -79,6 +78,185 @@ class _MainPagesState extends State<MainPages> {
// ),
// ),
// )
Container
(
margin:
EdgeInsets
.
fromLTRB
(
30
,
10
,
10
,
0
),
height:
300
,
child:
ListView
(
scrollDirection:
Axis
.
horizontal
,
children:
[
Container
(
margin:
EdgeInsets
.
fromLTRB
(
5
,
10
,
10
,
0
),
child:
Column
(
children:
[
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
12
),
child:
Image
(
image:
NetworkImage
(
"https://e1.pngegg.com/pngimages/513/361/png-clipart-render-naruto-naruto-uzumaki-illustration.png"
),
fit:
BoxFit
.
cover
,
width:
100
,
height:
200
,
),
),
SizedBox
(
height:
10
,
),
Text
(
"Naruto Shippuden"
,
style:
TextStyle
(
fontSize:
12
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
w700
),),
SizedBox
(
height:
5
,
),
Row
(
children:
[
Text
(
"3.5"
,
maxLines:
1
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
12
,
fontWeight:
FontWeight
.
w500
),),
SizedBox
(
width:
5
,
),
Icon
(
Icons
.
star
,
color:
Colors
.
yellow
,
size:
14
,)
],
)
],
),
),
Container
(
margin:
EdgeInsets
.
fromLTRB
(
5
,
10
,
10
,
0
),
child:
Column
(
children:
[
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
12
),
child:
Image
(
image:
NetworkImage
(
"https://e1.pngegg.com/pngimages/513/361/png-clipart-render-naruto-naruto-uzumaki-illustration.png"
),
fit:
BoxFit
.
cover
,
width:
100
,
height:
200
,
),
),
SizedBox
(
height:
10
,
),
Text
(
"Naruto Shippuden"
,
style:
TextStyle
(
fontSize:
12
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
w700
),),
SizedBox
(
height:
5
,
),
Row
(
children:
[
Text
(
"3.5"
,
maxLines:
1
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
12
,
fontWeight:
FontWeight
.
w500
),),
SizedBox
(
width:
5
,
),
Icon
(
Icons
.
star
,
color:
Colors
.
yellow
,
size:
14
,)
],
)
],
),
),
Container
(
margin:
EdgeInsets
.
fromLTRB
(
5
,
10
,
10
,
0
),
child:
Column
(
children:
[
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
12
),
child:
Image
(
image:
NetworkImage
(
"https://e1.pngegg.com/pngimages/513/361/png-clipart-render-naruto-naruto-uzumaki-illustration.png"
),
fit:
BoxFit
.
cover
,
width:
100
,
height:
200
,
),
),
SizedBox
(
height:
10
,
),
Text
(
"Naruto Shippuden"
,
style:
TextStyle
(
fontSize:
12
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
w700
),),
SizedBox
(
height:
5
,
),
Row
(
children:
[
Text
(
"3.5"
,
maxLines:
1
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
12
,
fontWeight:
FontWeight
.
w500
),),
SizedBox
(
width:
5
,
),
Icon
(
Icons
.
star
,
color:
Colors
.
yellow
,
size:
14
,)
],
)
],
),
),
Container
(
margin:
EdgeInsets
.
fromLTRB
(
5
,
10
,
10
,
0
),
child:
Column
(
children:
[
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
12
),
child:
Image
(
image:
NetworkImage
(
"https://e1.pngegg.com/pngimages/513/361/png-clipart-render-naruto-naruto-uzumaki-illustration.png"
),
fit:
BoxFit
.
cover
,
width:
100
,
height:
200
,
),
),
SizedBox
(
height:
10
,
),
Text
(
"Naruto Shippuden"
,
style:
TextStyle
(
fontSize:
12
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
w700
),),
SizedBox
(
height:
5
,
),
Row
(
children:
[
Text
(
"3.5"
,
maxLines:
1
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
12
,
fontWeight:
FontWeight
.
w500
),),
SizedBox
(
width:
5
,
),
Icon
(
Icons
.
star
,
color:
Colors
.
yellow
,
size:
14
,)
],
)
],
),
),
Container
(
margin:
EdgeInsets
.
fromLTRB
(
5
,
10
,
10
,
0
),
child:
Column
(
children:
[
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
12
),
child:
Image
(
image:
NetworkImage
(
"https://e1.pngegg.com/pngimages/513/361/png-clipart-render-naruto-naruto-uzumaki-illustration.png"
),
fit:
BoxFit
.
cover
,
width:
100
,
height:
200
,
),
),
SizedBox
(
height:
10
,
),
Text
(
"Naruto Shippuden"
,
style:
TextStyle
(
fontSize:
12
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
w700
),),
SizedBox
(
height:
5
,
),
Row
(
children:
[
Text
(
"3.5"
,
maxLines:
1
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
12
,
fontWeight:
FontWeight
.
w500
),),
SizedBox
(
width:
5
,
),
Icon
(
Icons
.
star
,
color:
Colors
.
yellow
,
size:
14
,)
],
)
],
),
),
],
),
),
],
)
],
...
...
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