maquestiaux_bmi_calculator 0.0.4 maquestiaux_bmi_calculator: ^0.0.4 copied to clipboard
A BMI Calculator. This package allows you to display a form with the necessary fields to perform a calculation of your body mass index (BMI).
A Flutter Package for calculating BMI #
Usage #
import 'package:flutter/material.dart';
import './bmi_calculation_page.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.indigo,
// This makes the visual density adapt to the platform that you run
// the app on. For desktop platforms, the controls will be smaller and
// closer together (more dense) than on mobile platforms.
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: BmiCalculationPage(),
);
}
}