lottie_player 0.0.5 copy "lottie_player: ^0.0.5" to clipboard
lottie_player: ^0.0.5 copied to clipboard

This is use to lottie json player. This plugin is supported Android iOS and web platform

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin By Team7s.com'),
        ),
        body: const Center(
          child: LottiePlayer(
            networkUrl:
                'https://assets5.lottiefiles.com/packages/lf20_i9mtrven.json',
            width: 200,
            height: 200,
          ),
        ),
      ),
    );
  }
}
14
likes
130
points
83
downloads

Publisher

verified publisherteam7s.com

Weekly Downloads

This is use to lottie json player. This plugin is supported Android iOS and web platform

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, webviewx

More

Packages that depend on lottie_player