// Flutter Lottie Animation Network
// 1st internet permission
// Go to <project root>/android/app/src/main/AndroidManifest.xml:
// and paste ⬇⬇
<!-- ⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇ -->
<uses-permission android:name="android.permission.INTERNET"/> <!-- Add this -->
<!-- ⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆ -->
<!-- image -->
// Go to file and add ⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇
lottie: ^1.4.3 #Note plz set new version
//Or Terminal typing ⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇
flutter pub add lottie
Image :

// 3d go to main.dart folder
//All code Cut
// paste this Code ⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';
void main() {
runApp(LottieApp());
}
class LottieApp extends StatefulWidget {
const LottieApp({super.key});
@override
State<Lottie> createState() => _LottieAppState();
}
class _LottieAppState extends State<LottieApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: Lottie.network(
'https://assets2.lottiefiles.com/packages/lf20_aZTdD5.json',
// reverse: true,
// height: 200,
// width: 200,
// repeat: true,
// fit: BoxFit.cover,
),
),
),
);
}
}
//OutPut:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////// Flutter Fun ///////////////// from dhirgo///////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////