This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:bodycal/src/domain/calculations/body_calcuations.dart'; | |
import 'package:bodycal/src/domain/constants/keys_constants.dart'; | |
import 'package:bodycal/src/domain/preferences/pref_fluid.dart'; | |
import 'package:bodycal/src/domain/preferences/pref_gender.dart'; | |
import "package:test/test.dart"; | |
void main() { | |
var female = Gender.female; | |
var male = Gender.male; | |
var weightLB = 200.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'package:bodycal/src/domain/calculations/math_calculations.dart'; | |
import 'package:bodycal/src/domain/calculations/measurement_conversions.dart'; | |
import 'package:bodycal/src/domain/constants/keys_constants.dart'; | |
import 'package:bodycal/src/domain/preferences/pref_fluid.dart'; | |
import 'package:bodycal/src/domain/preferences/pref_gender.dart'; | |
///Mifflin-St Jeor | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:bodycal/src/domain/constants/keys_constants.dart'; | |
/// Converts Centimeters to Inches | |
double convertCMtoIN(double cm) => cm * 0.393701; | |
/// Converts Inches to Centimeters | |
double convertINtoCM(double inch) => inch * 2.54; | |
/// Converts Centimeters to Foot | |
int convertCMtoFT(double cm) => cm.floor() / 2.54 ~/ 12; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"log": ["*"], | |
"databases": { | |
"db": { | |
"server": "http://docker.purewowstudio.com:8091", | |
"bucket": "bodycal", | |
"users": { "GUEST": { "disabled": false, "admin_channels": ["*"] } } | |
} | |
} | |
} |