Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.dart #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update main.dart #13

wants to merge 1 commit into from

Conversation

Shree1194
Copy link

Primary Color: Added primaryColor: Colors.blue to ThemeData. This changes the app's primary color to blue. You can replace Colors.blue with another color like Color(0xFF800000) if you want a specific hex color.

Renaming calculator to Calculator: Dart convention for naming classes and widgets is to use PascalCase, so calculator() was renamed to Calculator(). This also assumes that the Calculator.dart file has the class Calculator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants