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

flutter_text_field_fab is a simple widget that allows you to turn a floating action button into a text field.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_text_field_fab/flutter_text_field_fab.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        floatingActionButton: TextFieldFloatingActionButton(
          'Search...',
          Icon(Icons.gamepad),
          onChange: (String query) => print(query),
          onClear: () => print('I was cleared.'),
        ),
        body: Text('Example'));
  }
}
62
likes
40
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

flutter_text_field_fab is a simple widget that allows you to turn a floating action button into a text field.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_text_field_fab