flutter_text_field_fab 0.0.2 copy "flutter_text_field_fab: ^0.0.2" to clipboard
flutter_text_field_fab: ^0.0.2 copied to clipboard

outdated

A new Flutter package project.

flutter_text_field_fab #

A simple Flutter widget that makes turning a FAB into a text field easy.

pub.dev

Installation #

dependencies:
  flutter:
    sdk: flutter
  flutter_text_field_fab: <last-version>

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...',
                onChange: (String query) => filterList(query),
                onClear: () => clearList(),
            ),
            body: ...);
    }
}
62
likes
0
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package project.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_text_field_fab