Rive animations in Flutter Last Updated : 15 Jul, 2025 Comments Improve Suggest changes 15 Likes Like Report Rive is a very useful animation tool that can create beautiful animations and we can add these in our Application. In flutter, we can add animations by writing so many lines of code but this is not a good practice for a developer. Instead of writing lines of code to create animation, we can create one, using this powerful Rive animation tool. Please read all the below points in sequence to understand the topic clearly. Steps to implement rive animations in flutterStep 1 : Create a new flutter applicationCreate a new Flutter application using command Prompt. For creating a new app, write flutter create YOUR_APP_NAME and run this command.flutter create river_flutterTo know more about it refer this article: Creating a Simple Application in FlutterStep 2 : Select and download assetsNow to create new animation go ahead to https://rive.app/explore/popular/trending/all.You can also export animations that were created by some other users. Click any animation and Click "Open in Rive". Then download it by clicking the export button.The file extension should be .riv and format should be Binary.Now, open VS Code and create new folder "assets" in the root directory of the application and paste the files which you have downloaded from rive. Step 3 : Edit pubspec.yaml fileAdd rive in dependencies :dependencies: rive: ^0.13.20Add assets in flutter:assets: - assets/vechiles.rivStep 4 : Display that using RiveAnimation.asset. Dart RiveAnimation.asset( 'assets/vehicles.riv', ) Complete source code (main.dart) main.dart import 'package:flutter/material.dart'; import 'package:rive/rive.dart'; void main() => runApp(MaterialApp( debugShowCheckedModeBanner: false, home: MyRiveAnimation(), )); class MyRiveAnimation extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("GeeksforGeeks"), backgroundColor: Colors.green, foregroundColor: Colors.white, ), body: Center( child: RiveAnimation.asset( 'assets/vehicles.riv', )), ); } } Output: Create Quiz Comment S singh_teekam Follow 15 Improve S singh_teekam Follow 15 Improve Article Tags : Flutter Flutter UI-components Explore BasicsFlutter Tutorial7 min readFlutter | An introduction to the open source SDK by Google5 min readFlutter - Architecture Application3 min readAndroid Studio Setup for Flutter Development3 min readGetting Started with Cross-Platform Mobile Application using Flutter7 min readFlutter Development in Ubuntu 20.045 min readKey WidgetsWhat is Widgets in Flutter?5 min readContainer class in Flutter8 min readScaffold class in Flutter with Examples8 min readMaterialApp class in Flutter7 min readDrawer Widget in Flutter5 min readFlutter - AppBar Widget7 min readFlutter - RichText Widget3 min readUI ComponentsFlutter - Tabs2 min readFlutter - Horizontal List3 min readFlutter - Expansion Tile Card3 min readIcon Class in Flutter2 min readExpanded Class in Flutter3 min readFlutter - Dialogs5 min readFlutter - Circular & Linear Progress Indicators4 min readFlutter - Staggered Grid View4 min readDesign & AnimationsCustomizing Fonts in Flutter4 min readFlutter - Skeleton Text3 min readFlutter - Themes3 min readFlutter - Lazy Loader5 min readFlutter - UI Orientation2 min readFlutter - Animation in Route Transition3 min readFlutter - Physics Simulation in Animation4 min readFlutter - Radial Hero Animation3 min readFlutter - Hinge Animation4 min readFlutter - Lottie Animation3 min readForms & GesturesForm Validation in Flutter3 min readDesigning a Form Submission Page in Flutter3 min readFlutter - Gestures3 min readNavigation & RoutingURLs in Flutter5 min readRoutes and Navigator in Flutter4 min readFlutter - WebSockets3 min readFlutter - Named Routes3 min readFlutter - Arguments in Named Routes4 min readMulti Page Applications in Flutter5 min readFlutter - Updating Data on the Internet5 min readFlutter - Fetching Data From the Internet4 min readFlutter - Deleting Data On The Internet4 min readFlutter - Sending Data To The Internet5 min readFlutter - Send Data to Screen4 min readHardware InteractionGallery Access and Camera in Flutter3 min readCamera Access in Flutter3 min readBackground local notifications in Flutter6 min readRestrict Landscape mode in Flutter2 min readSample Flutter AppsBasic Quiz App In Flutter8 min readA Hello World App using Flutter3 min readFlutter - Simple PDF Generating App9 min readFlutter - Magic 8 Ball App3 min readAdvance ConceptsFlutter - Read and Write Data on Firebase4 min readMail and SMS in Flutter5 min readMaking Calls in Flutter7 min readFAB - Speed Dial in Flutter5 min readFlutter Wakelock3 min readHTTP GET Request in Flutter3 min read Like