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

outdated

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

example/example.dart

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: ListView(
          children: const [
            P(text: "Use this to make a paragraph."),
            H(text: "Use this to make a header."),
            CodeView(
              code: """
MaterialButton(
  child: Text("Click here"),
  onPressed: () {
    print("Clicked")
  },
),
""",
            ),
          ],
        ),
      ),
    );
  }
}
2
likes
0
pub points
20%
popularity

Publisher

unverified uploader

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

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on codeview