dylanxie123 / num-plus-plus Goto Github PK
View Code? Open in Web Editor NEWA scientific & intutive calculator written in Flutter.
License: MIT License
A scientific & intutive calculator written in Flutter.
License: MIT License
First of all: awesome work ✨
I think it would be super awesome and beneficial if you made this whole thing be a package that you can upload to https://pub.dev/ and let other people work with it ❤
Certainly willing to contribute as well!
Describe the bug
In dark mode, the dividing bar(in division) and matrix borders become the same as back ground.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
White symbol on black background
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
Additional context
¯\_ (ツ) _/¯ :-[
Describe the bug
When I press any button on the mathkeyboard nothing occurs on the display but following error is thrown:
JavaScript string was: 'addCmd('9', {isOperator: false})' Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: addCmd, WKJavaScriptExceptionColumnNumber=7, WKJavaScriptExceptionSourceURL=about:blank, NSLocalizedDescription=A JavaScript exception occurred}
To Reproduce
Steps to reproduce the behavior:
Just start the App (in my case iPhone Simulator 11 Pro Max - iOS 13.3) and try to type any kind of Input with the mathkeyboard.
Expected behavior
A clear and concise description of what you expected to happen.
Normally the keyboard expression should appear in the WebView.
Version:
The font looks weird.
The description says it is completely offline yet when installed it needs internet permission.... something is not right here.
If the reason for internet access is that it is trying to look up currency conversion factors, shouldn't the "completely offline" description be changed?
But then, I can't find how to do any sort of unit conversions in this app... is there some other reason for internet access?
My .yaml File
name: new_num_project
description: A new Flutter project.
flutter pub publish
. This is preferred for private packages.publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
flutter pub upgrade --major-versions
. Alternatively,flutter pub outdated
.dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
math_expressions: ^2.2.0
webview_flutter: ^2.3.1
mime: ^1.0.1
petitparser: ^4.4.0
provider: ^6.0.1
shared_preferences: ^2.0.9
flutter_icons: ^1.1.0
url_launcher: ^6.0.16
flutter_launcher_icons: ^0.9.2
linalg: ^0.4.0
fl_chart: ^0.40.2
dev_dependencies:
flutter_test:
sdk: flutter
analysis_options.yaml
file located at the root of yourflutter_lints: ^1.0.0
flutter:
uses-material-design: true
assets:
-----ERRRORRRRR-----
I/chromium(15789): [INFO:CONSOLE(36)] "Uncaught TypeError: Cannot read properties of undefined (reading 'cmd')", source: data:text/html,%3C!DOCTYPE%20html%3E%0A%3Chtml%3E%0
A%3Chead%3E%0A%3Clink%20rel=%22stylesheet%22%20href=%22./mathquill.css%22/%3E%0A%3Cscript%20src=%22./jquery-3.4.1.min.js%22%3E%3C/script%3E%0A%3Cscript%20src=%22./mathquill
.min.js%22%3E%3C/script%3E%0A%3C/head%3E%0A%0A%3Cbody%3E%0A%3Cspan%20id=%22math-field%22%3E%3C/span%3E%0A%3Cscript%3E%0Avar%20MQ%20=%20MathQuill.getInterface(2);%0Avar%20ma
thFieldSpan%20=%20document.getElementById('math-field');%0Avar%20mathField%20=%20MQ.MathField(mathFieldSpan,%20%7B%0A%20%20%20%20spaceBehavesLikeTab:%20true,%0A%20%20%20%20
substituteTextarea:%20function()%20%7B%0A%20%20%20%20%20%20%20%20return%20document.createElement('span');%0A%20%20%20%20%7D,%0A%7D);%0A%0Avar%20isClearable%20=%20false;%0A%
0Adocument.body.onclick%20=%20function()%20%7B%0A%20%20%20%20isClearable%20=%20false;%0A%20%20%20%20postClearable();%0A%7D%0Afunction%20addCmd(message,%20%7BisOperator%20=%
20false%7D)%20%7B%0A%20%20%20%20if(isClearable)%20%7B%0A%20%20%20%20%20%20%20%20delAll();%0A%20%20%20%20%20%20%20%20isClearable%20=%20false;%0A%20%20%20%20%20%20%20%20postC
learable();%0A%20%20%20%20%20%20%20%20if(isOperator)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20mathField.cmd('Ans');%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20
%20%20%20mathField.cmd(message);%0A%20%20%20%20mathField.focus();%0A%20%20%20%20postLaTex();%0A%7D%0A%0Afunction%20equal()%20%7B%0A%20%20%20%20isClearable%20=%20true;%0A%20
%20%20%20postClearable();%0A%7D%0A%0Afunction%20addString(message)%20%7B%0A%20%20%20%20mathField.write(message);%0A%20%20%20%20postLaTex();%0A%7D%0A%0Afunction%20delString(
)%20%7B%0A%20%20%20%20mathField.keystroke('Backspace');%0A%20%20%20%20isClearable%20=%20false;%0A%20%20%20%20postLaTex();%0A%20%20%20%20postClearable();%0A%7D%0A%0Afunction
%20delAll()%20%7B%0A%20%20%20%20mathField.keystroke('Ctrl-A%20Backspace');%0A%20%20%20%20isClearable%20=%20false;%0A%20%20%20%20postLaTex();%0A%20%20%20%20postClearable();%
0A%7D%0A%0Afunction%20simulateKey(key)%20%7B%0A%20%20%20%20mathField.keystroke(key);%0A%20%20%20%20isClearable%20=%20false;%0A%20%20%20%20postClearable();%0A%7D%0A%0Afuncti
on%20postLaTex()%20%7B%0A%20%20%20%20latexString.postMessage(mathField.latex());%0A%7D%0A%0Afunction%20postClearable()%20%7B%0A%20%20%20%20clearable.postMessage(isClearable
.toString());%0A%7D%0A%3C/script%3E%0A%0A%3C/body%3E%0A%3C/html%3E%0A (36)
Hi,
First of all I wanted to say thank you for having developed such a clean and efficient calculator with scientific operations, I do use it a lot.
I see that you are planning to implement it and I think one way to do it would be to have a scrollable list of the past calculations where you could call them again and edit them by tapping on the item in the list.
It could be very handy for calculations of the same formula with different input parameters.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
Additional context
Add any other context about the problem here.
Hi,
I would like to know, how implement the child of buttons on scientific mode panel.
Some childs are strings like '+', 'cos'..but what about others?
Thanks mate.
auto_awesome
Traducir del: inglés
261 / 5000
Resultados de traducción
When I clone the repository and run it, I get an error of:
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Runner' from project 'Runner')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.