coffee 0.0.5 copy "coffee: ^0.0.5" to clipboard
coffee: ^0.0.5 copied to clipboard

A coffee-related library for an object-oriented representation of coffee.

☕️ Coffee #

A coffee-related library for an object-oriented representation of coffee.

pub points style: very good analysis Dart Validation

Usage #

A simple usage example:

import 'package:coffee/coffee.dart';

var myFavoriteBean = const Bean(
  roaster: 'Patriot Coffee Roaster',
  name: 'Ethiopia Nano Challa',
  roast: Roast.lightMedium,
  countries: [Country.ET],
  altitude: Altitude(lower: 1900, upper: 2200),
  process: Process.washed,
  notes: ['Red Grape', 'Pineapple', 'Elderflower'],
);

var hoffmansV60 = const BrewMethod(
  title: "James Hoffman's Ultimate V60",
  type: BrewType.pourOver,
  steps: [
    'Rinse filter & pre-heat V60',
    'Pour in grounds, create well in the middle.',
    'Pre-wet with (~2x weight of grounds) water.',
    '...',
  ],
);

var myGoToRecipe = BrewRecipe(
  bean: myFavoriteBean,
  grindSize: 4,
  beanWeight: 30.1,
  waterWeight: 504,
  method: hoffmansV60,
);

var todaysCoffee = Coffee(
  notes: 'It was good as always!',
  recipe: myGoToRecipe,
);

Features and bugs #

Please file feature requests and bugs at the issue tracker.

5
likes
160
pub points
0%
popularity

Publisher

verified publisherelijahluckey.com

A coffee-related library for an object-oriented representation of coffee.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable

More

Packages that depend on coffee