codeview 0.0.16 copy "codeview: ^0.0.16" to clipboard
codeview: ^0.0.16 copied to clipboard

A package with header, codeview, paragraph and much more to help you make an article style page.

Want to show some code blocks inside your flutter project?

Features #

CodeView with a lot of optioal features.

Getting started #

Explore the usage section.

Usage #

class Example extends StatelessWidget {
  const Example({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: CodeView(
          code: """
MaterialButton(
  child: Text("Click here"),
  onPressed: () {
    print("Clicked")
  },
),
""",
          backgroundColor: Colors.black45,
          textColor: Colors.white,
        ),
      ),
    );
  }
}

Additional information #

Do not leave without leaving a like.

2
likes
120
pub points
43%
popularity

Publisher

unverified uploader

A package with header, codeview, paragraph and much more to help you make an article style page.

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on codeview