Category : Text Field

Simple Inherited Widget to highlight text in a search result, with custom highlight Color and highlight TextStyle. Features Highlight text in a search result with custom highlight Color and highlight TextStyle. Highlight text in a search result without prasing the search text directly. Parse the search text as a regular expression. Usage SearchTextInheritedWidget( searchText: ‘search ..

Read more

flutter_text_field_fab A simple Flutter widget that makes turning a FAB into a text field easy. Installation dependencies: flutter: sdk: flutter flutter_text_field_fab: <last-version> Features Simple slide animation Custom icon Custom coloring Example Simple Usage import ‘package:flutter/material.dart’; import ‘package:flutter_text_field_fab/flutter_text_field_fab.dart’; class SomeListView extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( floatingActionButton: TextFieldFloatingActionButton( ‘Search…’, Icons.gamepad, onChange: (String ..

Read more

CodeField A customizable code text field supporting syntax highlighting Live demo A live demo showcasing a few language / themes combinaisons Showcase The experimental VM dlox uses CodeField in its online editor Features Code highlight for 189 built-in languages with 90 themes thanks to flutter_highlight Easy language highlight customization through the use of theme maps Fully customizable code field style through a TextField ..

Read more

Flutter Tutorial – AutoComplete TextField & AutoComplete Search Create an AutoComplete TextField to search JSON data based on suggestions in Flutter.  Preview App Preview Course Preview  Watch Video YouTube video where the source code is explained. Subscribe YouTube channel. ➜ Watch My Video Download AutoComplete TextField & AutoComplete Search widget source code on GitHub https://github.com/JohannesMilke/typeahead_example FlutterappworldProvides the list of the ..

Read more

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable. Customizable Attributes Import package:password_validated_field/src/requirement_widget.dart and following fields are modifiable: inputDecoration textEditingController textInputAction onEditComplete onFieldSubmitted focusNode cursorColor textStyle activeIcon inActiveIcon activeRequirementColor inActiveRequirementColor  Here’s how it looks Below are few samples of what the ..

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

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

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_text_drawable A flutter package that gives you the flexibility to create and customize text user avatars like Gmail and Contacts. It also provides a TextDrawableListTile widget which wraps around the material ListTile widget to provide easy control when using TextDrawable with a ListTile. Basic Usage Simply add the TextDrawable to your widget tree like so: TextDrawable( text: “Some Text”, ) Respond to Tap Events ..

Read more

linkable  A Flutter widget to add links to your text. By default, the Text or RichText widgets render the URLs in them as simple text which are not clickable. So, Linkable widget is a wrapper over RichText which allows you to render links that can be clicked to redirect to the URL. That means that a Linkable widget supports all the attributes of a RichText Widget. Currently ..

Read more

Flutter Tagging A flutter package with tagging or multi-select functionality. Useful for adding Tag or Label Selection Forms. List<Language> _selectedLanguages = []; FlutterTagging<Language>( initialItems: _selectedLanguages, textFieldConfiguration: TextFieldConfiguration( decoration: InputDecoration( border: InputBorder.none, filled: true, fillColor: Colors.green.withAlpha(30), hintText: ‘Search Tags’, labelText: ‘Select Tags’, ), ), findSuggestions: LanguageService.getLanguages, additionCallback: (value) { return Language( name: value, position: 0, ); ..

Read more

Welcome to Flutter Tag Selector! The fluttertagselector is a flutter package which you can use to create bubble tag selector as show in the below screen shots. You can check it on pub.dev Use this package 1. Depend on it Add this to your package’s pubspec.yaml file: dependencies: fluttertagselector: ^0.1.0 2. Install it You can install packages from ..

Read more

mask_text_input_formatter The package provides TextInputFormatter for TextField and TextFormField which format the input by a given mask. Example Check ‘example’ folder for code sample Usage Follow install guide: https://pub.dartlang.org/packages/mask_text_input_formatter#-installing-tab- Import the library: import ‘package:mask_text_input_formatter/mask_text_input_formatter.dart’; Create mask formatter: var maskFormatter = new MaskTextInputFormatter(mask: ‘+# (###) ###-##-##’, filter: { “#”: RegExp(r'[0-9]’) }); Set it to text field: ..

Read more

Flutter Arc Text Renders text along the arc. See demo. Basic usage class MyApp extends StatelessWidget { @override Widget build(BuildContext context) => ArcText( radius: 100, text: ‘Hello, Flutter!’, textStyle: TextStyle(fontSize: 18, color: Colors.black), startAngle: -pi / 2, startAngleAlignment: StartAngleAlignment.start, placement: Placement.outside, direction: Direction.clockwise ); } Download Flutter Arc Text Widget source code on GitHub FlutterappworldProvides the ..

Read more

SpinBox for Flutter SpinBox for Flutter is a numeric input widget with an input field for entering a specific value, and spin buttons for quick, convenient, and accurate value adjustments. Guidelines Spin boxes are best suited for such applications that deal with large numeric value ranges and high precisions, where users typically know upfront the exact value ..

Read more

readmore A Flutter plugin than allow expand and collapse text. usage: add to your pubspec and import: ReadMoreText( ‘Flutter is Google’s mobile UI open source framework to build high-quality native (super fast) interfaces for iOS and Android apps with the unified codebase.’, trimLines: 2, colorClickableText: Colors.pink, trimMode: TrimMode.Line, trimCollapsedText: ‘…Show more’, trimExpandedText: ‘ show less’, ..

Read more

flutter_show_more_text_popup Flutter widget to show text in popup or overlay container Installation Add this to your package’s pubspec.yaml file dependencies: … show_more_text_popup: ^latest-version Usage First import show_more_text_popup.dart import ‘package:show_more_text_popup/show_more_text_popup.dart’; ShowMoreTextPopup popup = ShowMoreTextPopup(context, text: text, textStyle: TextStyle(color: Colors.black), height: 200, width: 100, backgroundColor: Color(0xFF16CCCC)); popup.show( widgetKey: key, ); Screenshots Download text popup widget source code ..

Read more

flutter_rich_input This is a high performance rich media input box, implemented through the native textfield extension, with less disruptive, but at the same time has a strong extensibility, implements the @ someone, # topics, expressions and other functions, support custom color highlighting Language: English | 中文简体 Special feature Use native textfield capabilities with less code, less disruption and ..

Read more

Flutter Markdown A markdown renderer for Flutter. It supports the original format, but no inline html. Getting Started Using the Markdown widget is simple, just pass in the source markdown as a string: If you do not want the padding or scrolling behavior, use the MarkdownBody instead: By default, Markdown uses the formatting from the current ..

Read more

ONLY FOR FLUTTER WEB Flutter widget that automatically resizes text to fit perfectly within its bounds. Show some  and star the repo to support the project Resources: Documentation Pub Package GitHub Repository Online Demo Also check out the blazing fast key-value store hive. Contents Usage maxLines minFontSize & maxFontSize group stepGranularity presetFontSizes overflowReplacement Rich Text Parameters Performance ..

Read more