flutter_notebook_page 0.1.1 copy "flutter_notebook_page: ^0.1.1" to clipboard
flutter_notebook_page: ^0.1.1 copied to clipboard

A Flutter package allows you to easily integrate Notebook Page like Widget.

Flutter Notebook Page #

A Flutter package allows you to easily integrate Notebook Page like Widget.

Preview #

Screenshot

Installing #

  1. Add dependency to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dartlang.org

dependencies:
    flutter_notebook_page: 0.1.1
  1. Import the package
import 'package:flutter_notebook_page/flutter_notebook_page.dart';
  1. Adding NotebookPageWidget
class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: NotebookPage(),
      ),
    );
  }
}

With optional parameters

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: NotebookPage(
          item1: '8 characters',
          item2: '1 Special character',
          item3: '1 Upper case',
          height: 150,
          width: 300,
          textStyle: TextStyle(color: Colors.deepPurple, fontSize: 29),
        ),
      ),
    );
  }
}

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A Flutter package allows you to easily integrate Notebook Page like Widget.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_notebook_page