A simple recipes app made in Flutter for a series of articles

Overview

recipes_app

Simple Recipes App made in Flutter for a series of articles. You can find all articles here.

Branches are regarding to articles:

01_introduction - Simple Recipes App made in Flutter — Introduction

02_list_detail_view - Simple Recipes App made in Flutter  —  List View

03_firebase - Simple Recipes App made in Flutter  —  Firebase and Google Sign-In

04_firestore - Simple Recipes App made in Flutter  —  Firestore

05_settings - Simple Recipes App made in Flutter   —  Detail View and Settings Widget

Final result

Screenshots

Comments
  • Google Services

    Google Services

    First: google-services.json missing. Found one and installed it. Second: when running "flutter run": "FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:processDebugGoogleServices'.

    No matching client found for package name 'com.company.recipes'"

    opened by brianoh 4
  • Cannot create widget test

    Cannot create widget test

    I am trying to add a simple test to verify the login page shows when opened (as per the example test available on Flutter).

    I get the following error, caused by the state_widget static _StateWidgetState data call:

    static _StateWidgetState of (BuildContext context) {
        return (context.inheritFromWidgetOfExactType(_StateDataWidget)
                as _StateDataWidget)
            .data;
      }
    

    This is the error message:

    ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
    The following NoSuchMethodError was thrown building RootScreen(dirty, state:
    _RootScreenState#941dc):
    The getter 'data' was called on null.
    Receiver: null
    Tried calling: data
    
    When the exception was thrown, this was the stack:
    #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:50:5)
    #1      StateWidget.of (package:mama_fit_club/state_widget.dart:28:10)
    
    

    This is the simple test:

    void main() {
      testWidgets('Test login page displayed', (WidgetTester tester) async {
        // Build our app and trigger a frame.
        await tester.pumpWidget(StateWidget(child: MyApp()));
        final loginRequestFinder = find.text("To continue please login with");
        expect(loginRequestFinder, findsOneWidget);
      });
    }
    

    Are you able to help? I need to add tests to my app.

    Thanks!

    opened by samheyman 1
  • File google-services.json is missing. The Google Services Plugin cannot function without it.

    File google-services.json is missing. The Google Services Plugin cannot function without it.

    I am using VSCode Version 1.32.3 (1.32.3) Mac OS X High Sierra

    What is wrong?

    Launching lib/main.dart on Android SDK built for x86 in debug mode...
    registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
    registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
    registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
    registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
    registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.
    > File google-services.json is missing. The Google Services Plugin cannot function without it. 
       Searched Location: 
      /Users/user1/fldev/recipes_app/android/app/src/nullnull/debug/google-services.json
      /Users/user1/fldev/recipes_app/android/app/src/debug/nullnull/google-services.json
      /Users/user1/fldev/recipes_app/android/app/src/nullnull/google-services.json
      /Users/user1/fldev/recipes_app/android/app/src/debug/google-services.json
      /Users/user1/fldev/recipes_app/android/app/src/nullnullDebug/google-services.json
      /Users/user1/fldev/recipes_app/android/app/google-services.json
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 13s
    Gradle task assembleDebug failed with exit code 1
    Exited (sigterm)
    
    opened by wyattbiker 1
  • SignOut Needed

    SignOut Needed

    Hi I am new to flutter and inherited widgets approach. I have tried a lot but unable to add signOut method please help . It will be great if you can add code to repo or post here. Thanks in advance .

    @krolmic

    opened by jindalAnuj 1
  • Facing an Error :(

    Facing an Error :(

    Launching lib/main.dart on iPhone 11 Pro Max in debug mode...

    Compiler message: Error: Could not resolve the package 'recipes_app' in 'package:recipes_app/app.dart'. lib/main.dart:2:8: Error: Not found: 'package:recipes_app/app.dart' import 'package:recipes_app/app.dart'; ^ lib/main.dart:5:7: Error: Method not found: 'RecipesApp'. new RecipesApp(), ^^^^^^^^^^ Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Arecipes_app%2Fapp.dart; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7) #1 asFileUri (package:vm/kernel_front_end.dart:604:37) #2 writeDepfile (package:vm/kernel_front_end.dart:799:21) #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:472:15) #4 _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:38:22) #5 starter (package:flutter_frontend_server/server.dart:149:27) #6 main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30) #7 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32) #8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null Failed to build bundle. Error launching application on iPhone 11 Pro Max.

    opened by aadithyanr 0
Owner
Michael Krol
Trying to get a better software developer everyday.
Michael Krol
My first Flutter project - a recipes app, from the book Flutter Apprentice.

recipes My first Flutter project - a recipes app, from the book Flutter Apprentice. Getting Started This project is a starting point for a Flutter app

Adatta1276 1 Dec 28, 2021
Recipe bank - Recipe Bank - Flutter frontend web app to store recipes

recipe_bank A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

Khalid Ali 0 Jan 2, 2022
Recipe-flavored markdown: make recipes easy to create and maintain

Recipe-Flavored Markdown Have you ever wanted a simpler approach to writing and

Joanna May 28 Dec 8, 2022
Application created in flutter based on the shadowhunters series.

seriesflutterproject A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you sta

null 1 Nov 24, 2021
A simple Hacker News reader made with Flutter.

hacki A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is

Jiaqi Feng 428 Jan 5, 2023
It is a simple group chat application made with flutter back-end by Firebase. People can chat like a community chat.

flash_chat A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

Moideen Rafih P A 4 Aug 7, 2022
Flutter-task-planner-app - A beautiful task planner app design made in flutter.

Flutter Task Planner App Design Task Planner App is built with flutter. App design is based on Task Planner App designed by Purrweb UI. This app is st

Sourav Kumar Suman 692 Jan 2, 2023
Freshly-Delivered-App - Freshly Delivered App desing made with Flutter

Flutter - Freshly Delivered App Freshly Delivered App desing I made with Flutter

Yılmaz Yağız Dokumacı 1 Feb 2, 2022
FoodReview is an app for restaurant review. This app is made for submission

Food Rating App This app is called FoodReview. The main feature is we can discover some restaurants, get details, foods, drinks, and post a review for

Aditya Rohman 10 Oct 26, 2022
A beer tracking app made with Flutter

Beer Me Up Beer Me Up is an iOS and Android app build with Flutter. The app is a personal beer logging that allows you to enter every beer you have to

Benoit Letondor 471 Jan 5, 2023
An app for orientation week at Trinity College, University of Toronto. Made with Flutter

Trinity Orientation 2018 An app created for Trinity College at University of Toronto. The app is acts as a companion for all first year students durin

Matthew Tory 605 Dec 30, 2022
Music App made with flutter

Chillify A Flutter music app made with Provider and BLoC pattern. (Works on Android for now) Recommended Flutter version: 1.7.8+hotfix.4 UI heavily in

Karim Elghamry 632 Jan 4, 2023
A Food Ordering App made with Flutter, node and using MySQL Database

Flutter Food ordering App We have made a food ordering system. It will help the restaurant to do all the functionalities more accurately and in a fast

Arunoday kumar 71 Dec 26, 2022
This is a Yoga app made in Flutter. This is an integration of a model that i found on https://www.uistore.design.

Yoguha A Flutter project made with Firebase that helps you for your next Yoga sessions. It contains : An authentication system A timer Some relaxing p

Scythe 2 Feb 1, 2022
Movies App made in Flutter with api data from TMDB

This is an app that displays you details of movies that you can search for , or browse.

Bibek Timsina 252 Dec 29, 2022
Sewistic Mobile app made using Flutter.

Sewistic Mobile app made using Flutter.

Shoaib Ahmed 8 Oct 31, 2022
Recipe App made with Flutter

Recipe App made with Flutter

Germán Fajardo Sanchez 86 Oct 12, 2022
A fully-functional e commerce app made in Flutter using Firebase.

Smart Shop ??️ A fully-functional e commerce app made in Flutter using Firebase. How To Run This Project ??‍♂️ Clone the repository. Create project on

null 25 Sep 30, 2022
a modern games app UI made with flutter

games_mix A game app UI made using flutter. Inspiration https://github.com/developedbyed/glass-website Screenshot Support If you like what we do, and

null 2 Oct 14, 2021