tabler_icons 0.0.3 copy "tabler_icons: ^0.0.3" to clipboard
tabler_icons: ^0.0.3 copied to clipboard

A tabler icon flutter packages based on https://tabler-icons.io/

example/main.dart

import 'package:flutter/material.dart';
import 'package:tabler_icons/tabler_icons.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Tabler Icons Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        leading: IconButton(icon: Icon(TablerIcons.menu), onPressed: () {}),
        title: Text('Tabler Icon Demo'),
        actions: <Widget>[
          IconButton(icon: Icon(TablerIcons.menu_2), onPressed: () {})
        ],
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Row(
              children: <Widget>[
                Icon(TablerIcons.arrow_back),
                SizedBox(width: 10.0),
                Text('Arrow Back Icon')
              ],
            ),
            Row(
              children: <Widget>[
                Icon(TablerIcons.heart),
                SizedBox(width: 10.0),
                Text('Heart Icon')
              ],
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {},
        child: Icon(TablerIcons.plus),
      ),
    );
  }
}
14
likes
140
pub points
86%
popularity

Publisher

verified publisherbongthorn.tech

A tabler icon flutter packages based on https://tabler-icons.io/

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on tabler_icons