flutter_boxicons 3.1.0 copy "flutter_boxicons: ^3.1.0" to clipboard
flutter_boxicons: ^3.1.0 copied to clipboard

Boxicons (https://boxicons.com) customization for Flutter. You can use 2K+ more Boxicons.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Boxicons Demo',
      home: MyHomePage(title: 'Flutter Boxicons Demo'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'Flutter Boxicons Example :',
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                Icon(Boxicons.bx_plus_circle),
                Icon(Boxicons.bx_pointer),
                Icon(Boxicons.bx_star),
                Icon(Boxicons.bx_power_off),
                Icon(Boxicons.bx_printer),
                Icon(Boxicons.bxl_500px)
              ],
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          print("Button presssed");
        },
        tooltip: 'Boxicons Button',
        child: Icon(
          Boxicons.bx_message_rounded_dots,
          color: Colors.white,
        ),
      ),
    );
  }
}
57
likes
150
pub points
94%
popularity

Publisher

verified publishershasmatic.site

Boxicons (https://boxicons.com) customization for Flutter. You can use 2K+ more Boxicons.

Homepage
Repository (GitHub)
View/report issues

Topics

#assets #icons #box-icons

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_boxicons