Commit ac9fb26f authored by Budi Prasetyo's avatar Budi Prasetyo

animasi di home2 small

parent 5ec0e1aa
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart'; import 'package:google_fonts/google_fonts.dart';
import 'package:medapp_eksad/animation/kiri_kanan_small.dart'; import 'package:medapp_eksad/animation/kiri_kanan_small.dart';
import 'package:show_up_animation/show_up_animation.dart';
class SmallHome2 extends StatelessWidget { class SmallHome2 extends StatelessWidget {
const SmallHome2({Key? key}) : super(key: key); const SmallHome2({Key? key}) : super(key: key);
...@@ -49,27 +50,50 @@ class SmallHome2 extends StatelessWidget { ...@@ -49,27 +50,50 @@ class SmallHome2 extends StatelessWidget {
Column( Column(
// mainAxisAlignment: MainAxisAlignment.start, // mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
Animasi_Kiri_Kanan_Small( ShowUpAnimation(
screenSize: screenSize, delayStart: const Duration(seconds: 1),
widget: list_help( curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize,
titel: 'Costs are getting more expensive'),
),
ShowUpAnimation(
delayStart: const Duration(seconds: 2),
curve: Curves.decelerate,
direction: Direction.horizontal,
child: list_help(
screenSize: screenSize, screenSize: screenSize,
titel: 'Costs are getting more expensive'),), titel: "Demographic Change",
),
list_help(
screenSize: screenSize,
titel: "Demographic Change",
), ),
list_help( ShowUpAnimation(
screenSize: screenSize, delayStart: const Duration(seconds: 3),
titel: "Rare talents", curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize,
titel: "Rare talents"),
), ),
list_help( ShowUpAnimation(
screenSize: screenSize, delayStart: const Duration(seconds: 4),
titel: "Rapid technological change", curve: Curves.decelerate,
direction: Direction.horizontal,
child: list_help(
screenSize: screenSize,
titel: "Rapid technological Change",
),
), ),
list_help( ShowUpAnimation(
screenSize: screenSize, delayStart: const Duration(seconds: 5),
titel: "Changes in consumer behavior", curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize,
titel: "Changes in consumer behavior"),
), ),
], ],
), ),
......
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