Category : Widgets

icon_picker A Flutter widget to show an icon collection to pick.This widget extend TextField and has a similar behavior as TextFormField Usage In the pubspec.yaml of your flutter project, add the following dependency: dependencies: … icon_picker: “^1.1.0” In your library add the following import: import ‘package:icon_picker/icon_picker.dart’; For help getting started with Flutter, view the online documentation. Example IconPicker ..

Read more

date_time_picker A Flutter widget to show a text form field to display a date or clock dialog.This widget extend TextField and has a similar behavior as TextFormField Usage In the pubspec.yaml of your flutter project, add the following dependency: dependencies: … date_time_picker: “^1.1.0” In your library add the following import: import ‘package:date_time_picker/date_time_picker.dart’; For help getting started with ..

Read more

appbar_elevation A Flutter Widget for an AppBar that is initially flush with the body and elevated when scrolled. Usage Use the ScrollActivatedAppBarElevation widget to wrap a Scaffold that contains a Scrollable view (e.g. ListView, CustomScrollView). The widget uses a NotificationListener to detect the scroll position and provides an appBarElevation value to be used. Example @override Widget build(BuildContext context) { return ScrollActivatedAppBarElevation( ..

Read more

A Flutter package for building Flutter widget tree from HTML with support for 70+ most popular tags. Live demo Getting Started Add this to your app’s pubspec.yaml file: dependencies: flutter_widget_from_html_core: ^0.5.1+3 Usage Then you have to import the package with: import ‘package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart’; And use HtmlWidget where appropriate: HtmlWidget( // the first parameter (`html`) is required ”’ <h1>Heading 1</h1> <h2>Heading ..

Read more

Widgets that make it easy to integrate blocs and cubits into Flutter. Built to work with package:bloc. Learn more at bloclibrary.dev! *Note: All widgets exported by the flutter_bloc package integrate with both Cubit and Bloc instances. Usage Lets take a look at how to use BlocBuilder to hook up a CounterPage widget to a CounterCubit. counter_cubit.dart class CounterCubit extends Cubit<int> { CounterCubit() : super(0); void increment() => emit(state + ..

Read more

WebView for Flutter A Flutter plugin that provides a WebView widget. On iOS the WebView widget is backed by a WKWebView; On Android the WebView widget is backed by a WebView. Usage Add webview_flutter as a dependency in your pubspec.yaml file. You can now include a WebView widget in your widget tree. See the WebView widget’s Dartdoc for more details on how ..

Read more

PatternFormatter A Flutter package provides some implementations of TextInputFormatter that format input with pre-defined patterns How to use import ‘package:pattern_formatter/pattern_formatter.dart’; Thousands grouping Integer number: TextField( keyboardType: TextInputType.number, inputFormatters: [ ThousandsFormatter() ], ) Decimal number: TextField( keyboardType: TextInputType.number, inputFormatters: [ ThousandsFormatter(allowFraction: true) ], ) Card number grouping TextField( keyboardType: TextInputType.number, inputFormatters: [ CreditCardFormatter(), ], ) Date ..

Read more

flutter_tags Create beautiful tags quickly and easily. Installing Add this to your package’s pubspec.yaml file: dependencies: flutter_tags: “^0.4.9” DEMO Simple usage import ‘package:flutter_tags/flutter_tags.dart’; . . . List _items; double _fontSize = 14; @override void initState(){ super.initState(); // if you store data on a local database (sqflite), then you could do something like this Model().getItems().then((items){ _items ..

Read more

flutter inner drawer Inner Drawer is an easy way to create an internal side section (left/right) where you can insert a list menu or other. Installing Add this to your package’s pubspec.yaml file: dependencies: flutter_inner_drawer: “^0.5.7+2” Demo Simple usage import ‘package:flutter_inner_drawer/inner_drawer.dart’; . . . @override Widget build(BuildContext context) { return InnerDrawer( key: _innerDrawerKey, onTapClose: true, ..

Read more

Bezier Chart A beautiful bezier line chart widget for flutter that is highly interactive and configurable. Features Multi bezier lines Allow numbers and datetimes Gestures support like touch, pinch/zoom, scrolling Highly customizable Instructions Long press and drag to display the indicator Tap to dismiss the indicator When using chart Scale different from Custom, you can ..

Read more

Toggle Switch A simple toggle switch widget. It can be fully customized with desired icons, width, colors, text, corner radius etc. It also maintains selection state. Getting Started In the pubspec.yaml of your flutter project, add the following dependency: dependencies: … toggle_switch: “^0.1.8” Import it: import ‘package:toggle_switch/toggle_switch.dart’; Usage Examples Basic toggle switch // Here, default theme colors ..

Read more

ColorfulSafeArea A more customizable replacement for the SafeArea widget. It lets you set the color of your SafeArea without affecting the color of its child. Use it just like a regular SafeArea widget Scaffold( body: ColorfulSafeArea( child: SomeWidget(), ), ); Setting Color The color of ColorfulSafeArea widgets are transparent by default. To change their color, set the color property. Scaffold( body: ColorfulSafeArea( color: Colors.red, child: ..

Read more

OctoImage An image library for showing placeholders, error widgets and transform your image. Recommended to use with CachedNetworkImage version 2.2.0 or newer. Getting Started The OctoImage widget needs an ImageProvider to show the image. You can either supply the widget with a placeholder or progress indicator, an ImageBuilder and/or an error widget. However, what OctoImage makes is the use of OctoSets. OctoSets are predefined ..

Read more

Flutter Number Picker is a custom widget designed for choosing an integer or decimal number by using add and minus buttons. Getting Started Head to /pubspec.yaml and add below dependencies like this: OR Run flutter packages get or use the GUI equivalent Now in your code import ‘package:flutter_number_picker/flutter_number_picker.dart’; You’re ready to go! Creating FlutterNumberPicker Widget CustomNumberPicker( initialValue: 10000, maxValue: 1000000, ..

Read more

GesturePasswordWidget   English | 简体中文 A gesture-unlocking control for Flutter that supports a high degree of customization. Demo: 1)A simple and common demo. Rendering: Code: GesturePasswordWidget( lineColor: const Color(0xff0C6BFE), errorLineColor: const Color(0xffFB2E4E), singleLineCount: 3, identifySize: 80.0, minLength: 4, errorItem: Image.asset( ‘images/error.png’, color: const Color(0xffFB2E4E), ), normalItem: Image.asset(‘images/normal.png’), selectedItem: Image.asset( ‘images/selected.png’, color: const Color(0xff0C6BFE), ), answer: [0, 1, 2, ..

Read more

Flutter Animated Sliced Button New Animated Sliced Button Widget. It is very primitive now, but I will work for asymmetrical fragmentation and dispersion in different ways as soon as possible. Screenshots Download Animated Sliced Button widget source code on GitHub Check out the implementation details on PUB: https://pub.dev/packages/animated_sliced_button FlutterappworldProvides the list of the opensource Flutter ..

Read more

Cupertino Icons his is an asset repo containing the default set of icon assets used by Flutter’s Cupertino widgets. Usage https://pub.dev/packages/cupertino_icons Issues For issues, file directly in the main Flutter repo. Icons For a list of all icons, see CupertinoIcons class documentation constants. For versions 0.1.3 and below, see this glyph map. Download Cupertino Icons widget source code on GitHub ..

Read more

Expandable A Flutter widget that can be expanded or collapsed by the user. Introduction This library helps implement expandable behavior as prescribed by Material Design: Motion > Choreography > Transformation Components > Cards > Behavior Expandable should not be confused with ExpansionPanel. ExpansionPanel, which is a part of Flutter material library, is designed to work only within ExpansionPanelList and cannot ..

Read more

Expansion card This package provides an easy implementation of a Expansion type card where you can also add gif at the background. How to use import ‘package:expansion_card/expansion_card.dart’; Center( child: ExpansionCard( background: Image.asset(“assets/animations/sleep.gif”), title: Container( child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text( “Header”, style: TextStyle( fontFamily: ‘BalooBhai’, fontSize: 30, color: Colors.white, ), ), Text( “Sub”, style: ..

Read more

Syncfusion Flutter Date Range Picker The Syncfusion Flutter Date Range Picker is a lightweight widget that allows users to easily select a single date, multiple dates, or a range of dates. It provides month, year, decade, and century view options to quickly navigate to the desired date. It supports minimum, maximum, and disabled dates to ..

Read more

fsearch Help developers build the most beautiful search bar. [FSearch] provides developers with a one-stop search bar construction service. Supports borders, corners, gradient background colors and shadows, as well as any number of prefix and suffix action buttons. Provides beautiful Hint animation. Author:Newton(coorchice.cb@alibaba-inc.com) English | 简体中文 Like it? Please cast your Star  !  Features Support beautiful border effect ..

Read more

text_formatters A package of pre-built TextInputFormatter objects to use with Flutter’s TextField or TextFormField widgets. Formatters UppercaseInputFormatter, example ‘THISISMYTEXT’ LowercaseInputFormatter, example ‘thisismytext’ AlternatingCapsInputFormatter, example ‘ThIsIsMyTeXt’ Usage new TextField( inputFormatters: [ UppercaseInputFormatter(), ], ), Dependencies This widget set relies on these external third-party components: groovin_string_masks Changelog Please see the Changelog page to know what’s recently changed. Download text formatters package source code on GitHub ..

Read more

flutter_timeline  a fully customizable & general timeline widget, based on real-world application references  fully customizable indicator dot  support spacing between indicator dot and lines  support spacing between event (items) but leaving the line connected  uses custom paint, but yet, indicator and body are fully customizable.  2 real-world demos  L2R support  supported & used by enterprise, constantly ..

Read more

proxy_layout Package to select layout per orientation or device size like mobile vs tablet layouts or portrait vs landscape Usage You have two widgets at your disposal, DeviceProxy to use different widget for mobile and tablet devices, OrientationProxy to use different device depending of the device orientation. DeviceProxy DeviceProxy( mobileBuilder: (context) => Text(‘Mobile widget’), tabletBuilder: (context) => Text(‘Tablet widget’), ..

Read more

flare_loading Loading widget based on a Flare animation, allow you to create custom loading widgets or dialogs Usage FlareLoading( name: ‘animation.flr’, startAnimation: ‘intro’, loopAnimation: ‘circle’, endAnimation: ‘end’, ); name: path and name of the flare animation until: callback that return a future to process your initialization isLoading: alternative to until if you want to manage loading state ..

Read more

Know where you drag & drop! This project demonstrates the use of the new, in Flutter 1.20, onAcceptWithDetails callback on DragTarget. It enables you to determine the coordinates of the drop. Before Flutter 1.20, these coordinates were only available from the Draggable.onDragEnd(details) callback. Getting the drop coordinates (say, for use in painting in/around your DragTarget) was: awkward if the Draggable did not have ..

Read more

Blast some confetti all over the screen and celebrate user achievements! Demo WEB Demo A video walkthrough is available here. Getting Started To use this plugin, add confetti as a dependency in your pubspec.yaml file. See the example to get started quickly. To begin you need to instantiate a ConfettiController variable and pass in a Duration argument. The ConfettiController can be instantiated in the initState method and ..

Read more

bottom_draggable_drawer A flutter draggable drawer Getting Started class TestPage extends StatelessWidget { final BottomDraggableDrawerController controller = BottomDraggableDrawerController(); @override Widget build(BuildContext context) { return Scaffold( appBar: CupertinoNavigationBar( middle: Text(‘Drawer Example’), trailing: GestureDetector( onTap: () { controller.switchDrawerStatus(); }, child: Text(‘switch’)), ), body: Stack( children: <Widget>[ Center( child: Container( height: 100, width: 300, child: Text(‘this is your main ..

Read more

jr_extension An awesome Flutter package with widget extension. Why do I want to create this lib? In SwiftUI framework created by apple,views use modifier to declare what the views look,which makes code readable. But in flutter,we usually use some nested code to setup the properties,making the code very ugly… So today,I create this lib to avoid nested ..

Read more