dcubo_iconify 0.1.1
dcubo_iconify: ^0.1.1 copied to clipboard
Main package needed to use all other Iconify icons in your project
DCubo Iconify #
Main package needed to use all other Iconify icons in your project
Installation 💻 #
❗ In order to start using Dcubo Iconify you must have the Flutter SDK installed on your machine.
Install via flutter pub add:
dart pub add dcubo_iconify
Companion Packages #
To use any icon set, you need to install a companion package. For example:
dart pub add dcubo_iconify_material_symbols
Usage #
import 'package:flutter/material.dart';
import 'package:dcubo_iconify/dcubo_iconify.dart';
import 'package:dcubo_iconify_material_symbols/dcubo_iconify_material_symbols.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Iconify Example'),
),
body: const Center(
child: Iconify(
IconifyMaterialSymbolsIconSet.thumbUpRounded,
color: Colors.blue,
size: 48,
),
),
),
);
}
}