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(
delayStart: const Duration(seconds: 1),
curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize, screenSize: screenSize,
widget: list_help( titel: 'Costs are getting more expensive'),
screenSize: screenSize, ),
titel: 'Costs are getting more expensive'),), ShowUpAnimation(
delayStart: const Duration(seconds: 2),
list_help( curve: Curves.decelerate,
direction: Direction.horizontal,
child: list_help(
screenSize: screenSize, screenSize: screenSize,
titel: "Demographic Change", titel: "Demographic Change",
), ),
list_help( ),
ShowUpAnimation(
delayStart: const Duration(seconds: 3),
curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize, screenSize: screenSize,
titel: "Rare talents", titel: "Rare talents"),
), ),
list_help( ShowUpAnimation(
delayStart: const Duration(seconds: 4),
curve: Curves.decelerate,
direction: Direction.horizontal,
child: list_help(
screenSize: screenSize, screenSize: screenSize,
titel: "Rapid technological change", titel: "Rapid technological Change",
),
), ),
list_help( ShowUpAnimation(
delayStart: const Duration(seconds: 5),
curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize, screenSize: screenSize,
titel: "Changes in consumer behavior", 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