toml_viewer 0.0.3 copy "toml_viewer: ^0.0.3" to clipboard
toml_viewer: ^0.0.3 copied to clipboard

A flutter library embeded TOML view.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:toml_viewer/toml_viewer.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 7),
            child: TomlView(
                assetFilePath: 'assets/test.toml',
                config: TomlViewerConfig.copyWith(expandMode: false)),
          ),
        ),
      ),
    );
  }
}
4
likes
130
pub points
0%
popularity
screenshot

Publisher

verified publishersudhi.in

A flutter library embeded TOML view.

Repository (GitHub)
View/report issues

Topics

#toml #viewer

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, toml

More

Packages that depend on toml_viewer