flutter_widget_catalogue 1.1.4+3 copy "flutter_widget_catalogue: ^1.1.4+3" to clipboard
flutter_widget_catalogue: ^1.1.4+3 copied to clipboard

Create awesome apps very faster with Flutter's collection of visual, structural, platform, UI, and interactive widgets.

Flutter widget catalogue #

Create an awesome apps very faster with Flutter's collection of visual, structural, platform, UI and interactive widgets. Its a open source package.

Buttons

All types of buttons set in this package. Auth Buttons for authenticating with the most popular social networks like: Google, Facebook, Apple and too other and add more buttons like (Rounded buttons, simple buttons, border color button, etc....).

Switch

An easy to implement custom switch created for Flutter. Give it a custom height and width, colors, size, border for the switch and toggle, border radius, colors, toggle size, a set to display an 'On' and 'Off' text and able to add custom icon inside the toggle.

Neumorphic

A complete, ready to use, Neumorphic ui kit for Flutter like(Buttons, switch, Container, Slider, Text, Icon, CheckBox, Toggle, Indicator, Range Slider, etc..).

Installing #

  1. Add dependency to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dev

  dependencies:
      flutter_widget_catalogue: <latest-version>
copied to clipboard
  1. Import the package
import 'package:flutter_widget_catalogue/flutter_widget_catalogue.dart';
copied to clipboard

1) Neumorphic Widgets

Screenshot Screenshot Screenshot
Screenshot Screenshot Screenshot

2) Buttons

Screenshot Screenshot Screenshot

3) Switch

Screenshot #

How to use Buttons #

import 'package:flutter/material.dart';
import 'package:flutter_widget_catalogue/flutter_widget_catelogue.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Buttons',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Buttons(),
    );
  }
}

class Buttons extends StatefulWidget {
  @override
  _ButtonsPageState createState() => _ButtonsPageState();
}

class _ButtonsPageState extends State<Buttons> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        width: double.infinity,
        padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 20),
        child: SingleChildScrollView(
          child: Column(
            children: [
copied to clipboard

Simple Buttons

           SuccessButton(title: "Success Button", onPressed: () {}),

copied to clipboard

Icon Button

             ButtonWithIcon(
               icon: Icons.local_cafe,
               title: "Icon Button",
               color: Colors.white,
               buttonColor: Colors.cyan,
               onPressed: () {},
             ),
copied to clipboard

Floating Button

             Wrap(
               spacing: 8.0,
               children: [
                 FloatingIconButton(icon: Icons.home, onPressed: () {}),
                 FloatingIconButton(
                     icon: Icons.home,
                     onPressed: () {},
                     buttonColor: Colors.orange),
                 FloatingIconButton(
                     icon: Icons.home,
                     onPressed: () {},
                     buttonColor: Colors.cyan,
                     color: Colors.white),
               ],
             ),
copied to clipboard

Line Button

             PrimaryLineButton(title: "Line Button", onPressed: () {}),
             DefaultLineButton(title: "Default Line Button", onPressed: () {}),
             SecondaryLineButton(
                 title: "Secondary Line Button", onPressed: () {}),
             InfoLineButton(
                 title: "Info Line Button",
                 textColor: Colors.black,
                 onPressed: () {}),
             SuccessLineButton(title: "Success Line Button", onPressed: () {}),
             WarningLineButton(
                 title: "Warning Line Button",
                 textColor: Colors.red,
                 onPressed: () {}),
             DangerLineButton(
                 title: "Danger Line Button",
                 textColor: Colors.black,
                 onPressed: () {}),
copied to clipboard

Rounded Button

             RoundedButton(title: "Rounded Button", onPressed: () {}),
             RoundedButtonWithIcon(
                 title: "Rounded Button With Icon",
                 icon: Icons.title,
                 buttonColor: Colors.green,
                 onPressed: () {}),
             RoundedButtonWithIcon(
                 title: "Home",
                 icon: Icons.home,
                 buttonColor: Colors.blueGrey,
                 onPressed: () {}),
copied to clipboard

Social Button

             Wrap(
               spacing: 8.0,
               runSpacing: 8.0,
               children: [
                 FacebookButton(onPressed: () {}),
                 TwitterButton(onPressed: () {}),
                 GithubButton(onPressed: () {}),
                 InstagramButton(onPressed: () {}),
                 LinkedinButton(onPressed: () {}),
                 MicrosoftButton(onPressed: () {}),
                 GoogleButton(onPressed: () {}),
               ],
             ),
copied to clipboard

Gradiant Button

             GradientButton(
                 onPressed: () {},
                 splashColor: Colors.orange,
                 colors: const [Colors.red, Colors.orange],
                 title: "Gradient Button"),
             GradientButton(
                 onPressed: () {},
                 splashColor: Colors.orange,
                 colors: const [Colors.blue, Colors.blueGrey],
                 title: "Gradient Button"),
             GradientButton(
                 onPressed: () {},
                 splashColor: Colors.orange,
                 colors: const [Color(0xFFC33764), Color(0xFF1D2671)],
                 title: "Gradient Button"),
             GradientButton(
                 onPressed: () {},
                 splashColor: Colors.orange,
                 colors: const [Color(0xFFF7971E), Color(0xFFFFD200)],
                 title: "Gradient Button"),
           ],
         ),
       ),
     ),
   );
 }
}

copied to clipboard

How to use Switch #

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

class _MyHomePageState extends State<MyHomePage> {
  bool status = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Switch"),
      ),
      body: Center(
        child: Container(
          child: FlutterSwitch(
                  width: 90.0,
                  height: 45.0,
                  toggleSize: 38.0,
                  value: status2,
                  borderRadius: 24.0,
                  padding: 2.0,
                  toggleColor: Colors.white,
                  switchBorder:
                      Border.all(color: Colors.blueAccent, width: 3.0),
                  activeColor: Colors.cyan,
                  inactiveColor: Colors.grey.shade400,
                  onToggle: (val) {
                    setState(() {
                      status2 = val;
                    });
                  },
                )
             ),
          ),
        ),
      ),
    );
  }
}
copied to clipboard

Changelog #

Please see CHANGELOG for more information what has changed recently.

Main Contributors #

27
likes
160
points
88
downloads

Publisher

verified publishertechvoot.com

Weekly Downloads

2024.09.09 - 2025.03.24

Create awesome apps very faster with Flutter's collection of visual, structural, platform, UI, and interactive widgets.

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, font_awesome_flutter

More

Packages that depend on flutter_widget_catalogue