lordicon

Last updated:

0 purchases

lordicon Image
lordicon Images
Add to Cart

Description:

lordicon

Lordicon Flutter #
This library allows you to easily integrate the playback of Lordicon icons into a Flutter application.
Usage #
import 'package:flutter/material.dart';
import 'package:lordicon/lordicon.dart';

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

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

@override
Widget build(BuildContext context) {
var controller = IconController.assets('assets/lock.json');

controller.addStatusListener((status) {
if (status == ControllerStatus.ready) {
controller.playFromBeginning();
}
});

return MaterialApp(
home: Scaffold(
body: Center(
child: IconViewer(
controller: controller,
width: 200,
height: 200,
),
),
),
);
}
}
copied to clipboard
More examples #
For more code samples demonstrating various possibilities, please refer to the 'example' folder.
Useful links #

Lordicon - Lordicon is a powerful library of
thousands of carefully crafted animated icons.
Lottie - Render After Effects animations natively
on Web, Android and iOS, and React Native.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.