We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c042583 commit e30f0c4Copy full SHA for e30f0c4
lib/editor.dart
@@ -327,7 +327,7 @@ class _EditorPageState extends State<EditorPage> {
327
var tabController = TabbedViewController(
328
tabs,
329
);
330
- tabController.selectedIndex = selectedTab;
+ tabController.selectedIndex = tabs.isNotEmpty? selectedTab : null;
331
final page = Stack(children: [
332
Column(//direction: Axis.vertical,
333
children: [
0 commit comments