Skip to main content

gopromotional_packlist 1.0.1 copy "gopromotional_packlist: ^1.0.1" to clipboard
gopromotional_packlist: ^1.0.1 copied to clipboard

Packing checklists with templates, per-night quantities and a Markdown format.

gopromotional_packlist #

Build a packing checklist from templates (work day, travel, trade show, gym), scale clothes to the number of nights, add your own items, tick things off and see what is left. Lists are stored as plain Markdown checklists you can also edit by hand.

  • 4 templates: work day (10 items), travel (19), trade show (16), gym (9). Combine them; duplicates are merged.
  • Per-night quantities: T-shirts, underwear and socks scale to nights + 1.
  • Tick off items by a unique part of their name; see progress and what is still to pack.
  • Markdown storage: - [x] 3 × T-shirts round-trips, so the list works in any editor, GitHub or Obsidian.

Install #

dart pub add gopromotional_packlist

Usage #

import 'package:gopromotional_packlist/gopromotional_packlist.dart';

void main() {
  final items = buildList(templateNames: ['trade-show'], extras: ['Tote bags']);
  mark(items, 'gaffer');                 // unique substring match
  print(progress(items));                // (packed: 1, percent: 6, total: 17)
  final md = toMarkdown(items, 'Expo');  // Markdown checklist
  print(parseMarkdown(md).items.length); // 17
}

Pure Dart, no dependencies; works on the VM, Flutter and the web. Run the tests with dart test.

0
likes
160
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Packing checklists with templates, per-night quantities and a Markdown format.

Homepage
Repository (GitHub)
View/report issues

Topics

#checklist #packing #markdown #travel #utility

License

MIT (license)

More

Packages that depend on gopromotional_packlist