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
160
pub points
17%
popularity

Publisher

verified publishercaloriekit.app

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on health_calculators