Enable dart.previewLsp in your settings. Ctrl + , or Cmd + , and check dart.previewLsp. Restart is required.