// screens/homescreen.dart import 'package:fluentui/fluentui.dart'; class HomeScreen…
- User
// screens/home_screen.dart import 'package:fluent_ui/fluent_ui.dart';
class HomeScreen extends StatefulWidget { const HomeScreen({super.key});
@override State createState() => _HomeScreenState(); }
class _HomeScreenState extends State { @override Widget build(BuildContext context) { return const Placeholder(); } } add a background container at the top of this container anothe container height 50px, background black
- Assistant
- User
this is using fluent ui
- Assistant
Apologies for the oversight! If you're using Fluent UI for your Flutter application, the widget structure will be slightly different. Below is the updated code for that adheres to Fluent UI conventions:
- User
add to the far right of the header bar a dropdown menu, this will be small containing for eg en,de
- Assistant
- User
error The name 'DropdownMenuItem' isn't a type, so it can't be used as a type argument. Try correcting the name to an existing type, or defining a type named 'DropdownMenuItem' is this needing a fluent dropdown
- Assistant