{"id":23050123,"url":"https://github.com/udaykumar-dhokia/firebase_auth_handler","last_synced_at":"2026-04-13T11:01:38.959Z","repository":{"id":248975972,"uuid":"830378047","full_name":"udaykumar-dhokia/firebase_auth_handler","owner":"udaykumar-dhokia","description":"This package provides an `Auth` widget that seamlessly integrates with Firebase Authentication to manage user login state. It allows developers to specify custom UI for both logged in and not logged in states, making it easy to navigate users to appropriate pages or screens.","archived":false,"fork":false,"pushed_at":"2024-07-18T08:35:22.000Z","size":377,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T04:03:25.460Z","etag":null,"topics":["firebase","firebase-auth","flutter","package"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udaykumar-dhokia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T06:50:57.000Z","updated_at":"2024-07-23T08:41:06.000Z","dependencies_parsed_at":"2024-07-18T08:57:18.244Z","dependency_job_id":null,"html_url":"https://github.com/udaykumar-dhokia/firebase_auth_handler","commit_stats":null,"previous_names":["udaykumar-dhokia/firebase_auth_handler","udaykumar-dhokia/firebase_auth_helper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/udaykumar-dhokia/firebase_auth_handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaykumar-dhokia%2Ffirebase_auth_handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaykumar-dhokia%2Ffirebase_auth_handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaykumar-dhokia%2Ffirebase_auth_handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaykumar-dhokia%2Ffirebase_auth_handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udaykumar-dhokia","download_url":"https://codeload.github.com/udaykumar-dhokia/firebase_auth_handler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaykumar-dhokia%2Ffirebase_auth_handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","firebase-auth","flutter","package"],"created_at":"2024-12-15T23:19:43.313Z","updated_at":"2026-04-13T11:01:38.944Z","avatar_url":"https://github.com/udaykumar-dhokia.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).\n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages).\n--\u003e\n\nThis package provides an `Auth` widget that seamlessly integrates with Firebase Authentication to manage user login state. It allows developers to specify custom UI for both logged in and not logged in states, making it easy to navigate users to appropriate pages or screens.\n\n## Features\n\n1) Seamless integration with Firebase Authentication.\n2) Customizable UI based on authentication state.\n3) Handles navigation to appropriate screens based on user login status.\n\n## Getting started\n\nflutter pub add firebase_auth_handler\n\n## Usage\n\nTo use this package, include the `Auth` widget in your app and provide builders for logged in and not logged in states.\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:firebase_auth/firebase_auth.dart';\nimport 'package:firebase_auth_handler/firebase_auth_handler.dart';\n\nvoid main() {\n  runApp(MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Auth(\n        loggedInBuilder: (context) =\u003e HomePage(), // Widget for logged in state\n        notLoggedInBuilder: (context) =\u003e LoginPage(), // Widget for not logged in state\n      ),\n    );\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudaykumar-dhokia%2Ffirebase_auth_handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudaykumar-dhokia%2Ffirebase_auth_handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudaykumar-dhokia%2Ffirebase_auth_handler/lists"}