Anchor レイアウトの使用法を把握するのに苦労しています。次のコード コンストラクターがあります。
LokationView()
{
  buildCityUi();
  buildRegionUi();
}
buildCityUi()
{
  cityLbl = new TextView( 'City' );
  addChild( cityLbl );
  cityTxBx = new TextBox( null, 'text' )
  ..profile.width = 'flex '
  ..profile.anchorView = cityLbl
  ..profile.location = 'east center'
  ..on.layout.listen( (_) 
    {
      cityTxBx.width = 200;
      cityTxBx.requestLayout();  
    });
  addChild(cityTxBx );
}
buildRegionUi()
{
  regionLbl = new TextView( 'Region' )
  ..profile.anchorView = cityLbl
  ..profile.location = 'south start';    
  addChild( regionLbl );
  regionTxBx = new TextBox( null, 'text' )
  ..profile.width = 'flex 1'
  ..profile.anchorView = regionLbl
  ..profile.location = 'east center';
  addChild( regionTxBx );
}
私は次のことを成し遂げようとしています: 1. 対応する TexTBox ビューでラベル ビューを作成します。2. TextBox ビューを取得して、ブラウザーの幅が変更されると変化するビューで、ブラウザー スペースの残りを占有します。
ありがとう