TomlSourceView constructor
const
TomlSourceView({
- Key? key,
- required String source,
- required TomlViewerConfig config,
- List<
TomlParseError> errors = const [], - bool showLineNumbers = true,
- String? searchQuery,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- bool shrinkWrap = false,
- ScrollPhysics? physics,
- ScrollController? scrollController,
Creates a source view.
Implementation
const TomlSourceView({
super.key,
required this.source,
required this.config,
this.errors = const [],
this.showLineNumbers = true,
this.searchQuery,
this.padding = EdgeInsets.zero,
this.shrinkWrap = false,
this.physics,
this.scrollController,
});