Introduction
Boost your Flutter app development with Flutter Widget Catalogue! This open-source package provides an extensive array of customizable widgets, including buttons, switches, and more. With Flutter Widget Catalogue, you can expedite your UI design process and create engaging user experiences with ease. Dive in today and discover the power of accelerated development in Flutter!
Flutter widget catalogue
Create awesome apps very fast with Flutter's collection of visual, structural, platform, UI, and interactive widgets. It's an open-source package.
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 to add a 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:
2. Import the package
import 'package:flutter_widget_catalogue/flutter_widget_catalogue.dart';
1. Neumorphic Widgets
Screenshot
How to use Switch
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
bool status = false;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Switch"),
),
body: Center(
child: Container(
child: FlutterSwitch(
width: 125.0,
height: 55.0,
valueFontSize: 25.0,
toggleSize: 45.0,
value: status,
borderRadius: 30.0,
padding: 8.0,
showOnOff: true,
onToggle: (val) {
setState(() {
status = val;
});
},
),
),
),
);
}
}
Changelog
Please see CHANGELOG for more information on what has changed recently.
FAQ
What is the Flutter Widget Catalogue SDK?
The Flutter Widget Catalogue SDK is a comprehensive collection of visual, structural, platform-specific, UI, and interactive widgets designed to expedite app development using Flutter. It offers a variety of pre-built components such as Buttons, Switches, and Neumorphic elements to streamline the development process.
How do I integrate the Flutter Widget Catalogue SDK into my Flutter application?
Integrating the Flutter Widget Catalogue SDK into your Flutter application is straightforward. Simply add the SDK as a dependency in your project's pubspec.yaml file and import the package. From there, you can access and utilize the various widgets provided by the SDK in your application's code.
What types of buttons are available in the Flutter Widget Catalogue SDK?
The Flutter Widget Catalogue SDK offers various button types to suit various design and functionality preferences. These include Simple Buttons, IconButton, FloatingActionButton, Line Button, Rounded Button, Social Button, and Gradient Button, among others.
Can I customize the appearance of switches using the Flutter Widget Catalogue SDK?
Yes, the Flutter Widget Catalogue SDK provides customizable switches that allow you to tailor their appearance to fit your app's design aesthetic. You can adjust parameters such as height, width, colors, border radius, toggle size, and more to create switches that align with your app's visual identity.
What is Neumorphic UI, and how does the Flutter Widget Catalogue SDK incorporate it?
Neumorphic UI is a design trend characterized by soft, subtle, and tactile elements that mimic physical objects. The Flutter Widget Catalogue SDK includes a comprehensive Neumorphic UI kit that encompasses various widgets such as Buttons, Switches, Containers, Sliders, Text, Icons, Checkboxes, Toggles, and Indicators, allowing developers to create visually appealing and interactive interfaces.
Where can I find updates and changes to the Flutter Widget Catalogue SDK?
Updates and changes to the Flutter Widget Catalogue SDK are documented in the project's CHANGELOG file. You can refer to this file to stay informed about the latest features, enhancements, bug fixes, and other modifications made to the SDK over time.