Fixed bug: Dart to Js compilation issue StackPanel