My dropdown button's popup position is incorrect. I don't get what's causing this issue, popup moves in the right side of the button, its somewhat related to the Row widget and builder. I am on the master branch. Check the sample code here DartPad Sample
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.blue,
),
builder: (context, child) => Scaffold(
body: Row(
children: [
Container(
width: 200,
color: Colors.blue,
child: Column(children: [
Text("Side Menu"),
])
),
Expanded(child: child),
],
),
),
initialRoute: "/",
onGenerateRoute: (_) => MaterialPageRoute(
builder: (BuildContext context) => Center(
child: DropdownButton(
hint: Text("test"),
value: 0,
items: [
DropdownMenuItem(child: Text("test 1"), value: 0),
DropdownMenuItem(child: Text("test 2"), value: 1),
DropdownMenuItem(child: Text("test 3"), value: 2),
],
onChanged: (value) {},
),
),
),
);
}
}