lottie_tgs 2.7.1 copy "lottie_tgs: ^2.7.1" to clipboard
lottie_tgs: ^2.7.1 copied to clipboard

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player. With TGS (Animated telegram sticker) support

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: ListView(
          children: [
            // Load a Lottie file from your assets
            Lottie.asset('assets/LottieLogo1.json'),

            // Load a Lottie file from a remote url
            Lottie.network("https://jkpnpgenvlzonmcnsury.supabase.co/storage/v1/object/public/stickers/41+hamburger.tgs?ts=1291291993"),
            Lottie.asset("assets/LightningBug_file_137160385.tgs"),
            Lottie.network('https://raw.githubusercontent.com/xvrh/lottie-flutter/master/example/assets/Mobilo/A.json'),

            // Load an animation and its images from a zip file
            Lottie.asset('assets/lottiefiles/angel.zip'),
          ],
        ),
      ),
    );
  }
}
4
likes
115
points
24
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player. With TGS (Animated telegram sticker) support

License

MIT (license)

Dependencies

archive, flutter, path, vector_math

More

Packages that depend on lottie_tgs