Commit 462a27e7 authored by Budi Prasetyo's avatar Budi Prasetyo

small size solution

parent 480fc977
...@@ -17,9 +17,10 @@ class _SmallOurSolution2State extends State<SmallOurSolution2> { ...@@ -17,9 +17,10 @@ class _SmallOurSolution2State extends State<SmallOurSolution2> {
return Container( return Container(
width: screenSize.width, width: screenSize.width,
height: screenSize.height*0.55, height: screenSize.height*0.55,
padding: EdgeInsets.symmetric(horizontal: screenSize.width*0.05, vertical: screenSize.height*0.05), color: Colors.grey,
padding: EdgeInsets.symmetric( vertical: screenSize.height*0.05),
child: Container( child: Container(
width: screenSize.width*0.95, width: screenSize.width,
height: screenSize.height*0.5, height: screenSize.height*0.5,
child: SmallVerticalSlider() child: SmallVerticalSlider()
......
...@@ -9,15 +9,15 @@ final List<String> imgList = [ ...@@ -9,15 +9,15 @@ final List<String> imgList = [
final List<Widget> imageSliders = imgList final List<Widget> imageSliders = imgList
.map((item) => Container( .map((item) => Container(
child: Container( child: Container(
margin: const EdgeInsets.all(5.0), margin: const EdgeInsets.all(2.0),
child: ClipRRect( child: ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(5.0)), borderRadius: const BorderRadius.all(Radius.circular(1.0)),
child: Stack( child: Stack(
children: <Widget> [ children: <Widget> [
Image.asset( Image.asset(
item, item,
fit: BoxFit.cover, fit: BoxFit.fill,
width: 670, width: 720,
), ),
Positioned( Positioned(
bottom: 0.0, bottom: 0.0,
...@@ -66,7 +66,7 @@ class SmallVerticalSlider extends StatelessWidget { ...@@ -66,7 +66,7 @@ class SmallVerticalSlider extends StatelessWidget {
children: [ children: [
Center( Center(
child: Container( child: Container(
width: screenSize.width*0.9, width: screenSize.width,
child: CarouselSlider( child: CarouselSlider(
carouselController: _controller, carouselController: _controller,
options: CarouselOptions( options: CarouselOptions(
......
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