standard_searchbar 1.0.1 copy "standard_searchbar: ^1.0.1" to clipboard
standard_searchbar: ^1.0.1 copied to clipboard

A simple and very customizable search bar widget for Flutter.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:flutter/foundation.dart';

import 'package:standard_searchbar/standard_searchbar.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Standard SearchBar Example'),
        ),
        body: Center(
          child: StandardSearchBar(
            onChanged: (value) {
              if (kDebugMode) print('Search: $value');
            },
            onSubmitted: (value) {
              if (kDebugMode) print('Search: $value');
            },
          ),
        ),
        backgroundColor: Colors.black12,
      ),
    );
  }
}
8
likes
0
pub points
80%
popularity

Publisher

unverified uploader

A simple and very customizable search bar widget for Flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on standard_searchbar