jjzjj

RenderSemanticsAnnotations

全部标签

flutter - AppBar 中的扩展小部件

我有一个应用栏,我想在其中显示标题,然后在它旁边有一个凸起的按钮,该按钮会展开以填充剩余的水平空间。我试过这个的变体:AppBar(title:Row(children:[Text("Selectview"),//therowthatfollowsisbecauseitsaysExpandedwidgets//shouldbeputdirectlyinRoworColumnorFlexPadding(padding:EdgeInsets.only(left:12.0),child:Row(children:[Expanded(child:RaisedButton(child:Text(

flutter - AppBar 中的扩展小部件

我有一个应用栏,我想在其中显示标题,然后在它旁边有一个凸起的按钮,该按钮会展开以填充剩余的水平空间。我试过这个的变体:AppBar(title:Row(children:[Text("Selectview"),//therowthatfollowsisbecauseitsaysExpandedwidgets//shouldbeputdirectlyinRoworColumnorFlexPadding(padding:EdgeInsets.only(left:12.0),child:Row(children:[Expanded(child:RaisedButton(child:Text(