responsive_notebook_background 0.1.0 copy "responsive_notebook_background: ^0.1.0" to clipboard
responsive_notebook_background: ^0.1.0 copied to clipboard

outdated

A notebook background which is responsive to the system text size settings.

A notebook background which is responsive to the system text size settings.

Features #

  • Easy to use
  • Customizable line thickness
  • Customizable line color
  • Customizable background color
  • Line- and Grid-Layout
  • Possibility to leave blank lines on top of content
  • Included LineSizeBuilder to determine the height of default text

Usage #

Depend on it:

dependencies:
  responsive_notebook_background: ^0.1.0

Import it:

import 'package:responsive_notebook_background/responsive_notebook_background.dart';

Example:

const ResponsiveNotebookBackground(
    options: ResponsiveNotebookBackgroundOptions(),
    child: Text('Lorem ipsum dolor sit amet.'),
);

Customization options #

static const TextStyle _textStyle = TextStyle(
    fontSize: 18,
    fontWeight: FontWeight.w500,
    color: Colors.brown,
);

const ResponsiveNotebookBackground(
    options: ResponsiveNotebookBackgroundOptions(
      blankLines: 2,
      horizontalPadding: 20,
      lineWidth: 2.5,
      backgroundColor: Colors.black12,
      lineColor: Colors.blueAccent,
      lineType: LineType.line,
      styleForHeightCalculation: _textStyle,
    ),
    child: Text(
      'Lorem ipsum dolor sit amet.',
      style: _textStyle,
    ),
);
17
likes
0
pub points
68%
popularity

Publisher

verified publishercosee.biz

A notebook background which is responsive to the system text size settings.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on responsive_notebook_background