Skip to content

Commit

Permalink
Added Files
Browse files Browse the repository at this point in the history
  • Loading branch information
1hanzla100 committed Feb 4, 2021
1 parent 4b332f3 commit a36a525
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ app.*.symbols

# Obfuscation related
app.*.map.json
KEY.md
44 changes: 44 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Contributing to Flutter Weather
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer

## We Develop with Github
We use github to host code, to track issues and feature requests, as well as accept pull requests.

## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:

1. Fork the repo and create your branch from `master`.
2. Your added code should be tested.
3. If you've changed the code, update the README accordingly.
4. Make sure your code lints.
5. Issue that pull request!

## Report bugs using Github's [issues](https://github.com/briandk/transcriptase-atom/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](); it's that easy!

## Write bug reports with detail, background, and sample code
**Great Bug Reports** tend to have:

- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)

People *love* thorough bug reports. I'm not even kidding.

## Use a Consistent Coding Style

* 2 spaces for indentation rather than tabs
* You can try Prettier.

## License
By contributing, you agree that your contributions will be licensed under its GPL License.
63 changes: 54 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,61 @@
# Weather
<h1 align="center">Welcome to Flutter Weather 👋</h1>

A new Flutter project.
> Weather App Built with Flutter and OpenWeatherMap API
## 🚀 See Screenshots

<details>
<summary>See ScreenShots</summary>
<img src="https://user-images.githubusercontent.com/59178380/106931874-e0116d00-6738-11eb-909f-6db0d4c2a12e.png" alt="" width=300></img>
<img src="https://user-images.githubusercontent.com/59178380/106931850-d8ea5f00-6738-11eb-93c1-c162f40fd640.png" alt="" width=300></img>
</details>

[Download APK](https://github.com/1hanzla100/flutter-weather/releases)

## Getting Started

This project is a starting point for a Flutter application.
To get a local copy up and running follow these simple example steps.

Prerequisite: https://flutter.dev/docs/get-started/install

1. To get started, fork this repository to your GitHub account.

2. Clone the repo.
```sh
git clone https://github.com/1hanzla100/flutter-weather
```
3. Install packages.
```sh
flutter pub get
```
4. Add OpenWeatherMap API KEY on lib/screens/Loading.dart
```dart
String apiKey = "<ADD API KEY HERE>";
```

5. Run project.
```sh
flutter run
```

## Author

👤 **Hanzla Tauqeer**

* Website: https://hanzla.now.sh
* Twitter: [@1hanzla100](https://twitter.com/1hanzla100)
* Github: [@1hanzla100](https://github.com/1hanzla100)
* LinkedIn: [@1hanzla100](https://linkedin.com/in/1hanzla100)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/1hanzla100/flutter-weather/issues). You can also take a look at the [contributing guide](https://github.com/1hanzla100/flutter-weather/blob/master/CONTRIBUTING.md).

## Show your support

A few resources to get you started if this is your first Flutter project:
Give a ⭐️ if this project helped you!

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
## 📝 License

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Copyright © 2021 [Hanzla Tauqeer](https://github.com/1hanzla100).<br />
This project is [GPL-3.0](https://github.com/1hanzla100/flutter-weather/blob/master/LICENSE) licensed.
2 changes: 1 addition & 1 deletion lib/screens/Loading.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Loading extends StatefulWidget {
}

class _LoadingState extends State<Loading> {
String apiKey = "afc78b05691f942fec865ba4eb5d2f6d";
String apiKey = "<ADD API KEY HERE>";
SimpleLocationResult arguments;
getData({lat, lon}) async {
String latitude = lat == null ? "31.5925" : lat.toString();
Expand Down

0 comments on commit a36a525

Please sign in to comment.