TomlView.fromMap constructor
const
TomlView.fromMap(
- Map<
String, dynamic> map, { - Key? key,
- TomlViewerConfig? config,
- TomlExpandController? expandController,
- TomlViewMode mode = TomlViewMode.tree,
- String? searchQuery,
- bool caseSensitiveSearch = false,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- bool shrinkWrap = false,
- ScrollPhysics? physics,
- ScrollController? scrollController,
- WidgetBuilder? loadingBuilder,
- Widget errorBuilder(
- BuildContext context,
- Object error
- WidgetBuilder? emptyBuilder,
Implementation
const TomlView.fromMap(
Map<String, dynamic> map, {
super.key,
this.config,
this.expandController,
this.mode = TomlViewMode.tree,
this.searchQuery,
this.caseSensitiveSearch = false,
this.padding = EdgeInsets.zero,
this.shrinkWrap = false,
this.physics,
this.scrollController,
this.loadingBuilder,
this.errorBuilder,
this.emptyBuilder,
}) : _source = _TomlSource.map,
_map = map,
_assetFilePath = null,
_content = null,
_loader = null,
_stream = null;