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

discontinued
outdated

Animated searchBar component that helps you manage user search inside application appBar or component body

example/lib/main.dart

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

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

class MyHomePage extends StatefulWidget {
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String searchValue = '';

  @override
  Widget build(BuildContext context) {
    return  MaterialApp(
      title: 'Example',
      theme: ThemeData(
        primarySwatch: Colors.blue
      ),
      home: Scaffold(
        appBar: AppBar(
          title: EasySearchBar(
            title: 'Example',
            onSearch: (value) => setState(() => searchValue = value)
          )
        ),
        body: Center(
          child: Text('Value: $searchValue')
        )
      )
    );
  }
}
90
likes
140
points
702
downloads

Publisher

verified publisher4inka.com

Weekly Downloads

Animated searchBar component that helps you manage user search inside application appBar or component body

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on easy_search_bar