keyrune_icons_flutter 0.0.2 copy "keyrune_icons_flutter: ^0.0.2" to clipboard
keyrune_icons_flutter: ^0.0.2 copied to clipboard

Magic: The Gathering set symbols from keyrune as icons in a flutter application.

example/lib/main.dart

/*
    Keyrune Icons Flutter
    Copyright (C) 2024 Jefferey Neuffer

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

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

void main() {
  runApp(const App());
}

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Icons Example",
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.green),
        useMaterial3: true,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Row(
            children: [
              Text("Icons Example"),
              Icon(KeyruneIcons.ss_10e),
            ],
          ),
        ),
        body: SingleChildScrollView(
          child: Padding(
            padding: const EdgeInsets.all(8.0),
            child: Center(
              child: Column(
                children: [
                  for (var icon in KeyruneIcons.icons.entries)
                    Row(
                      children: [
                        Icon(icon.value),
                        Text(icon.key),
                      ],
                    ),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}
2
likes
0
points
39
downloads

Publisher

verified publisherj7126.dev

Weekly Downloads

Magic: The Gathering set symbols from keyrune as icons in a flutter application.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on keyrune_icons_flutter