iconfont 2.0.0 copy "iconfont: ^2.0.0" to clipboard
iconfont: ^2.0.0 copied to clipboard

Dart library to generate Dart model class from IconFont files.

example/lib/main.dart

import 'package:example/icons/my_icons.dart';
import 'package:example/icons/test_icons.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Icon(TestIcons.Myicon_Zhire),
        ),
        body: Align(
          child: Icon(MyIcons.Myicon_Zhileng),
        ),
      ),
    );
  }
}
11
likes
115
points
103
downloads

Publisher

verified publisherchuanci.cc

Weekly Downloads

Dart library to generate Dart model class from IconFont files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, http, path, yaml

More

Packages that depend on iconfont