Commit d29370ec authored by dio maulana's avatar dio maulana

save

parent 250c8b27
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,
// ),
// ),
// ),
// )
],
)
],
......
......@@ -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:
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment