ionicons_flutter 1.0.0
ionicons_flutter: ^1.0.0 copied to clipboard
Ionicons is a completely open-source icon set with 1338+ icons crafted for web, iOS, Android, and desktop apps. They have both Material Design and iOS versions.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:ionicons/ionicons_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Ionicons',
theme: ThemeData(primarySwatch: Colors.blue),
debugShowCheckedModeBanner: false,
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Flutter Ionicons'),
),
body: const Center(
child: Icon(Ionicons.build_outline),
),
);
}
}