NiceWiki constructor
const
NiceWiki({ - Key? key,
- required List<NiceWikiPage> pages,
- String? selectedPageId,
- ValueChanged<NiceWikiPage>? onSelectPage,
- void onSavePage(
- String pageId,
- String content,
- String title
)?,
- void onCreatePage(
- String? parentId,
- String title
)?,
- ValueChanged<String>? onDeletePage,
- bool editable = false,
- bool searchable = true,
})
Implementation
const NiceWiki({
super.key,
required this.pages,
this.selectedPageId,
this.onSelectPage,
this.onSavePage,
this.onCreatePage,
this.onDeletePage,
this.editable = false,
this.searchable = true,
this.sidebarWidth = 260,
});