tabler_icons_next 2.35.0 tabler_icons_next: ^2.35.0 copied to clipboard
Yet another Tabler Icons package for Flutter that keeps updating with the latest version of the upstream.
// Copyright (c) 2023 Beta Kuang <beta.kuang@gmail.com>
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
import 'package:flutter/material.dart';
import 'package:tabler_icons_next/tabler_icons_next.dart';
void run() {
runApp(const ExampleApp());
}
class ExampleApp extends StatelessWidget {
const ExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Tabler Icons Next Example',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const HomePage(),
debugShowCheckedModeBanner: false,
);
}
}
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: const Text('Tabler Icons Next Example'),
),
body: const Center(
child: Icon(TablerIcons.check),
),
);
}
}