Last updated:
0 purchases
math pythagoras calculator simple library dart
App: Library Dart Packages
Features #
Features: Calculator & Pythagoras
Getting started #
Git clone :
git clone https://github.com/RizalFIrdaus/simple-calculator-pythagoras-dart-package-library.git
dart pub get
copied to clipboard
Usage #
Features: Calculator.
There are 3 parameters, operand 1 is of type num, operand 2 is of type num, and operator is of type string.
import 'package:dart_packages/calculator.dart';
var result = Math.calculator(-8, '*', -3);
print('Hasil : $result');
copied to clipboard
Features : Pythagoras.
There are 3 parameters, based is of type num, height is of type num, and slant is of type num. One of these parameters must be null, meaning that 2 parameters must be filled:
var pytagoras = Math.pythagoras(based: 5, slant: 13);
print('Hasil Pyhtagoras: $pytagoras');
copied to clipboard
Additional information #
Disclaimer : This project for self skill improvment.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.