searchbar_animated_suggestions 0.0.6 copy "searchbar_animated_suggestions: ^0.0.6" to clipboard
searchbar_animated_suggestions: ^0.0.6 copied to clipboard

A Flutter package that provides a search bar with animated suggestions.

example/lib/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    Color primaryColor = const Color(0xFF6200EE);
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: MaterialColor(
            primaryColor.value,
            <int, Color>{
              50: primaryColor.withOpacity(0.1),
              100: primaryColor.withOpacity(0.2),
              200: primaryColor.withOpacity(0.3),
              300: primaryColor.withOpacity(0.4),
              400: primaryColor.withOpacity(0.5),
              500: primaryColor.withOpacity(0.6),
              600: primaryColor.withOpacity(0.7),
              700: primaryColor.withOpacity(0.8),
              800: primaryColor.withOpacity(0.9),
              900: primaryColor.withOpacity(1),
            },
          ),
          primaryColor: primaryColor,
          visualDensity: VisualDensity.adaptivePlatformDensity,
          appBarTheme: AppBarTheme(
            backgroundColor: primaryColor,
            foregroundColor: Colors.white,
            titleTextStyle: const TextStyle(
              color: Colors.white,
              fontSize: 20,
              fontWeight: FontWeight.bold,
            ),
            shape: RoundedRectangleBorder(
              borderRadius: BorderRadius.circular(10),
            ),
          ),
          // scaffoldBackgroundColor: Colors.grey[100],
          // brightness: Brightness.dark,
          useMaterial3: true,
        ),
        home: const SaasTest());
  }
}
0
likes
140
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides a search bar with animated suggestions.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_animate

More

Packages that depend on searchbar_animated_suggestions