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
d29370ec
Commit
d29370ec
authored
Feb 14, 2022
by
dio maulana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
250c8b27
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
17 deletions
+26
-17
main_page.dart
lib/pages/main_page.dart
+18
-17
pubspec.lock
pubspec.lock
+7
-0
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
lib/pages/main_page.dart
View file @
d29370ec
import
'package:carousel_slider/carousel_slider.dart'
;
import
'package:flutter/material.dart'
;
class
MainPages
extends
StatefulWidget
{
...
...
@@ -61,23 +62,23 @@ class _MainPagesState extends State<MainPages> {
],
),
),
Align
(
alignment:
Alignment
.
centerLeft
,
child:
Container
(
margin:
EdgeInsets
.
fromLTRB
(
30
,
10
,
10
,
30
),
width:
200
,
height:
300
,
padding:
EdgeInsets
.
all
(
3
),
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
35
),
child:
Image
(
image:
NetworkImage
(
"https://repository-images.githubusercontent.com/31792824/fb7e5700-6ccc-11e9-83fe-f602e1e1a9f1"
),
fit:
BoxFit
.
cover
,
),
),
),
)
//
Align(
//
alignment: Alignment.centerLeft,
//
child: Container(
//
margin: EdgeInsets.fromLTRB(30, 10, 10, 30),
//
width: 200,
//
height: 300,
//
padding: EdgeInsets.all(3),
//
child: ClipRRect(
//
borderRadius: BorderRadius.circular(35),
//
child: Image(
//
image: NetworkImage(
//
"https://repository-images.githubusercontent.com/31792824/fb7e5700-6ccc-11e9-83fe-f602e1e1a9f1"),
//
fit: BoxFit.cover,
//
),
//
),
//
),
//
)
],
)
],
...
...
pubspec.lock
View file @
d29370ec
...
...
@@ -15,6 +15,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
carousel_slider:
dependency: "direct main"
description:
name: carousel_slider
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.4"
characters:
dependency: transitive
description:
...
...
pubspec.yaml
View file @
d29370ec
...
...
@@ -34,6 +34,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons
:
^1.0.2
carousel_slider
:
^2.3.1
dev_dependencies
:
flutter_test
:
...
...
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