The app will help you learn many concepts of flutter development and learn to make some cocktails as well.
Medium Article: Cocktail Recipe App using Flutter
The app uses The Cocktail DB as the data source, it uses some of the v2 version of the APIs provided by The Cocktail DB. You can also use the v1 version for free, but some of the APIs are only available in the v2 version. Signup as a Patreon supporter to get your v2 API key just for 2$ (146 ₹). You can cancel any time if you don’t want to support monthly, you still can continue to use the same API key. The app will help you learn many concepts of flutter development and make some cocktails as well.
Add your Version and API_KEY in lib/constant.dart
static final API_KEY="XXXXXXXX";
static final API_VERSION="v2";
The app lets you browse the list of cocktails based on Popularity, Recent, and 10 random drink every time you launch the app. It also lets you browse based on the Alcohol. The detail screen will show you the procedure to make the cocktail with the image of the ingredients attached.
- FutureBuilder with List
- JSON parsing
- Grid List
- Horizontal List
- API call using async-await
- Navigate and send data across screens
- Different flutter widgets
- Ability to search
- Save your favorite drink
- Add offline capabilities
- provide some basic user settings
MIT License
Copyright (c) 2021 Mangesh Yadav
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.