appbar_dropdown 0.0.1 copy "appbar_dropdown: ^0.0.1" to clipboard
appbar_dropdown: ^0.0.1 copied to clipboard

outdated

AppBar Dropdown is an attractive UI element that allows for navigation via a dropdown menu in the AppBar.

example/lib/main.dart

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

void main() {
  runApp( 
      MaterialApp(
       home: Scaffold(
          appBar: AppBar(
            flexibleSpace: AppbarDropdown(
              items: [ for (var i=0;i<100;i++) "User $i" ],
              selected: "User 2",
              title: ( (user) => user.toString() ),
              onClick: ( (user) => print(user) ),
           ),
          ),
       ),
      ),
  );
}
4
likes
0
pub points
58%
popularity

Publisher

unverified uploader

AppBar Dropdown is an attractive UI element that allows for navigation via a dropdown menu in the AppBar.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, pointer_interceptor

More

Packages that depend on appbar_dropdown