iconfont 1.0.0 copy "iconfont: ^1.0.0" to clipboard
iconfont: ^1.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.MyiconZhire),
        ),
        body: Align(
          child: Icon(MyIcons.MyiconZhileng),
        ),
      ),
    );
  }
}
11
likes
105
pub points
68%
popularity

Publisher

verified publisherchuanci.cc

Dart library to generate Dart model class from IconFont files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, dio, json_annotation, path, yaml

More

Packages that depend on iconfont