regendra_icons 1.0.1 copy "regendra_icons: ^1.0.1" to clipboard
regendra_icons: ^1.0.1 copied to clipboard

Enhance the visual appeal of your Flutter applications with Regendra Icons, a comprehensive icon package designed to simplify icon integration in your projects. This package provides a vast collection [...]

example/lib/main.dart

import 'package:example/icons_list.dart';
import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Regendra Icons'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  Widget iconCard(IconData iconData, String iconName) {
    return Card(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: <Widget>[
          Icon(
            iconData,
            size: 50.0,
          ),
          SizedBox(height: 30.0),
          Text(iconName)
        ],
      ),
    );
  }

   @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child:  GridView.builder(
      gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
      crossAxisCount: 3,
        crossAxisSpacing: 8.0,
      ),
      itemBuilder: (BuildContext context, int index) {
        return iconCard(
          iconDataList[index],
          iconNameList[index],
        );
      },
      itemCount: iconDataList.length,
    ),
     ),

     );
  }
}
3
likes
140
points
16
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Enhance the visual appeal of your Flutter applications with Regendra Icons, a comprehensive icon package designed to simplify icon integration in your projects. This package provides a vast collection of customizable, high-quality icons that seamlessly integrate with Flutter applications, making it easy for developers to add visually stunning elements to their UI.

License

MIT (license)

Dependencies

flutter

More

Packages that depend on regendra_icons