notebook_paper 0.0.2 copy "notebook_paper: ^0.0.2" to clipboard
notebook_paper: ^0.0.2 copied to clipboard

Craft beautiful notebook-like interfaces in Flutter with ease using Notebook Paper, a customizable widget package.

example/lib/main.dart

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Notebook Paper Example',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Notebook Paper Example'),
        ),
        body: Center(
          child: Container(
            padding: EdgeInsets.all(16.0),
            child: const NotebookPaper(
              entireText: 'Hello, Notebook Paper!',
              title: 'My Notebook',
              fontSize: 20.0,
              rowHeight: 1.0,
              width: 0.8, // Adjust the width as needed
              paperColor: Colors.white,
              horizontalLinesColor: Colors.grey,
              verticalLinesColor: Colors.black,
              pageTitle: true,
            ),
          ),
        ),
      ),
    );
  }
}
5
likes
0
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Craft beautiful notebook-like interfaces in Flutter with ease using Notebook Paper, a customizable widget package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on notebook_paper