bmi 0.0.1 bmi: ^0.0.1 copied to clipboard
Body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bmi
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
bmi: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bmi/body_mass_index.dart';
import 'package:bmi/calculate_bmi.dart';
import 'package:bmi/formate_bmi.dart';