An open API service indexing awesome lists of open source software.

https://github.com/manojkulkarni30/flutter-dropdownmenu-widget

A small Flutter demo showing how to add a dropdown list using Material 3's DropdownMenu widget.
https://github.com/manojkulkarni30/flutter-dropdownmenu-widget

dropdown-menu flutter material3-components

Last synced: 29 days ago
JSON representation

A small Flutter demo showing how to add a dropdown list using Material 3's DropdownMenu widget.

Awesome Lists containing this project

README

          

# flutter_dropdownlist_demo

A small Flutter demo showing how to add a dropdown list using Material 3's dropdown widgets.

## Video Tutorial

- Tutorial video: https://bit.ly/3PcnV1E
- Channel: https://bit.ly/41Ryons

## Overview

This repository demonstrates how to implement dropdowns in Flutter using Material 3's `DropdownMenu` widget

## Documentation

- `DropdownMenu` — https://api.flutter.dev/flutter/material/DropdownMenu-class.html
- `DropdownButton` — https://api.flutter.dev/flutter/material/DropdownButton-class.html

## Getting Started

1. Install Flutter: https://docs.flutter.dev/get-started/install
2. From the project root run:

```bash
flutter pub get
flutter run
```

## Notes

- The demo targets Material 3. To enable Material 3, set `useMaterial3: true` in your app theme:

```dart
MaterialApp(
theme: ThemeData(useMaterial3: true),
home: const MyHomePage(),
);
```