Skip to main content

health_calculators 0.1.4 copy "health_calculators: ^0.1.4" to clipboard
health_calculators: ^0.1.4 copied to clipboard

For body mass index and basal metabolic rate calculations and many more health calculations

example/main.dart

import 'package:health_calculators/calorie_intake/calorie_intake.dart';

void main() {
  CalorieEstimationCalculator calculator = CalorieEstimationCalculator(
    bmr: 1600,
    bmi: 22,
    currentWeight: 70,
    targetWeight: 65,
    age: 30,
    goal: Goal.lose_weight,
  );

  Map<String, dynamic> result = calculator.calculateCaloriesAndTime();
  print('Daily Calories: ${result['dailyCalories']}');
  print('Days to Goal: ${result['daysToGoal']}');
}
1
likes
140
points
36
downloads

Documentation

API reference

Publisher

verified publishercaloriekit.app

Weekly Downloads

For body mass index and basal metabolic rate calculations and many more health calculations

Repository (GitHub)

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on health_calculators