[
  {
    "path": ".github/pull_request_template.md",
    "content": "## What it does\n\n-\n\n## How to test\n\n1.\n2.\n3.\n\n## Screenshot\n\n"
  },
  {
    "path": ".github/workflows/merge-ci.yml",
    "content": "name: Merge CI\n\n# This workflow is triggered on pull request to the repository.\n\n# Run this script when PR and status is closed\non:\n  pull_request:\n    types: [ closed ]\n\njobs:\n  build:\n    # This job will run on ubuntu virtual machine\n    runs-on: ubuntu-latest\n    steps:\n\n      # Setup Java environment in order to build the Android app.\n      - uses: actions/checkout@v4.2.1\n      - uses: actions/setup-java@v4.3.0\n        with:\n          distribution: 'zulu' # See 'Supported distributions' for available options\n          java-version: '17'\n\n      # Setup the flutter environment.\n      - uses: subosito/flutter-action@v2\n        with:\n          channel: 'stable' # 'dev', 'alpha', default to: 'stable'\n          # flutter-version: '1.12.x' # you can also specify exact version of flutter\n\n      # Get flutter dependencies.\n      - name: Run initialize flutter project\n        run: flutter pub get ;flutter gen-l10n;flutter pub run build_runner build --delete-conflicting-outputs\n\n      # Formatting code\n      - name: Running flutter format\n        run: dart format lib/\n      # Get current branch\n      - name: Get branch name\n        id: branch-name\n        uses: tj-actions/branch-names@v5\n\n      # Check modified files\n      - name: Check for modified files\n        id: git-check\n        run: echo \"modified=$(if git diff-index --quiet HEAD --; then echo \"false\"; else echo \"true\"; fi)\" >> $GITHUB_OUTPUT\n      # Push code changes\n      - name: Push changes\n        if: steps.git-check.outputs.modified == 'true'\n        run: |\n          git config --global user.name 'Lzyct-Bot'\n          git config --global user.email 'lazycatlabs@users.noreply.github.com'\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git fetch\n          git checkout ${{ steps.branch-name.outputs.current_branch }}\n          git commit -am \"clean: apply formatting changes\"\n          git push\n      # Run widget tests for our flutter project.\n      - name: Run flutter test --machine --coverage\n        run: flutter test --machine --coverage\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }} # Add this secret in your repository settings\n          file: coverage/lcov.info\n\n      # Build apk.\n      #      - name: Build apk file\n      #        run: flutter build apk --flavor stg -t lib/main_stg.dart\n      #\n      #      # Upload generated apk to the artifacts.\n      #      - name: Uploading apk file\n      #        uses: actions/upload-artifact@v1\n      #        with:\n      #          name: staging-apk\n      #          path: build/app/outputs/flutter-apk/app-stg-release.apk\n\n      - name: Delete branch if merged\n        uses: actions/github-script@v5\n        with:\n          script: |\n            github.rest.git.deleteRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: `heads/${context.payload.pull_request.head.ref}`,\n            })\n"
  },
  {
    "path": ".github/workflows/pull_request-ci.yml",
    "content": "name: Pull Request Checker\n\n# This workflow is triggered on pull request to the repository.\n\n# Run this script when PR and status is open\non: pull_request\n\njobs:\n  build:\n    # This job will run on ubuntu virtual machine\n    runs-on: ubuntu-latest\n    steps:\n\n      # Setup Java environment in order to build the Android app.\n      - uses: actions/checkout@v4.2.0\n      - uses: actions/setup-java@v4.2.2\n        with:\n          distribution: 'zulu' # See 'Supported distributions' for available options\n          java-version: '17'\n\n      # Setup the flutter environment.\n      - uses: subosito/flutter-action@v2\n        with:\n          channel: 'stable' # 'dev', 'alpha', default to: 'stable'\n          #flutter-version: '3.24.3' # you can also specify exact version of flutter\n\n      # Check Flutter version\n      - name: Check Flutter version\n        run: flutter doctor -v\n\n      # Get flutter dependencies.\n      - name: Run initialize flutter project\n        run: flutter pub get ;flutter gen-l10n;flutter pub run build_runner build --delete-conflicting-outputs\n\n      # Statically analyze the Dart code for any errors.\n      - name: Run flutter analyze\n        run: flutter analyze --no-fatal-infos --no-fatal-warnings\n\n      # Run widget tests for our flutter project.\n      - name: Install LCOV\n        run: sudo apt-get update && sudo apt-get install -y lcov\n\n      - name: Run flutter test --machine --coverage\n        run: flutter test --coverage;lcov --remove coverage/lcov.info 'lib/core/localization/generated/' 'lib/core/resources/*' 'lib/utils/services/firebase/*' '**/*.g.dart' -o coverage/new_lcov.info ;genhtml coverage/new_lcov.info -o coverage/html\n\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }} # Add this secret in your repository settings\n          file: coverage/new_lcov.info\n"
  },
  {
    "path": ".gitignore",
    "content": "# Miscellaneous\n*.class\n*.log\n*.pyc\n*.swp\n.DS_Store\n.atom/\n.buildlog/\n.history\n.svn/\n\n# IntelliJ related\n*.iml\n*.ipr\n*.iws\n.idea/\n.docs/\n\n# The .vscode folder contains launch configuration and tasks you configure in\n# VS Code which you may wish to be included in version control, so this line\n# is commented out by default.\n#.vscode/\n\n# ignore freezed and json_serializable generated files\n*.freezed.dart\n*.g.dart\n\n**/doc/api/\n**/ios/Flutter/.last_build_id\n.dart_tool/\n.flutter-plugins\n.flutter-plugins-dependencies\n.packages\n.pub-cache/\n.pub/\n/build/\ncoverage/\nlib/core/localization/generated\n\n# Web related\nlib/generated_plugin_registrant.dart\n\n# Symbolication related\napp.*.symbols\n\n# Obfuscation related\napp.*.map.json\n\n# Exceptions to above rules.\n!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages\n\n.metadata\npubspec.lock\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.md",
    "content": "<a href=\"https://s.id/standwithpalestine\"><img alt=\"We stand with Palestine\" src=\"https://cdn.jsdelivr.net/gh/Safouene1/support-palestine-banner@master/banner-project.svg\" width=\"100%\" /></a>\n\n<br>\n\n# Flutter App Auth 📱\n\n[![codecov](https://codecov.io/gh/lazycatlabs/flutter_auth_app/main/graph/badge.svg)](https://codecov.io/gh/lazycatlabs/flutter_auth_app)\n<br/><br/>\n<a href=\"https://www.linkedin.com/in/lzyct/\" target=\"_blank\">\n<img src=\"https://github.com/ukieTux/ukieTux/blob/master/assets/linkedin.svg\" alt=\"LinkedIn\" style=\"vertical-align:top; margin:4px\" height=24>\n</a>\n<a href = \"https://www.upwork.com/freelancers/~01913209d41be922f1?viewMode=1\">\n<img src=\"https://img.shields.io/badge/UpWork-6FDA44?logo=Upwork&logoColor=white\" height=24/>\n</a>\n\nThis app has Auth Functions like Login, Register, and Show pagination data.\n\nThe API using [apimock](https://apimock.lazycatlabs.com/) from [lazycatlabs](https://lazycatlabs.com).\n\n<br>This app also implementing **Flutter Clean Architecture with TDD.**\n\nhttps://github.com/user-attachments/assets/5b9e3559-aa18-4ba1-9e1a-d27d8d304149\n\n### Light and dark theme icon launcher change\n\nhttps://github.com/user-attachments/assets/3e200e6e-0987-4c28-a285-64e905709535\n\n### Light and dark theme splash change\n\nhttps://github.com/user-attachments/assets/2c72e060-8ee8-4c1a-9ed7-9f8e3547ecea\n\n## Pre-requisites 📐\n\n| Technology | Recommended Version | Installation Guide                                                    |\n|------------|---------------------|-----------------------------------------------------------------------|\n| Flutter    | v3.24.x             | [Flutter Official Docs](https://flutter.dev/docs/get-started/install) |\n| Dart       | v3.5.x              | Installed automatically with Flutter                                  |\n\n## Get Started 🚀\n\n- Clone this project\n\n```bash \n  flutter pub get \n```\n\n- Run to generate localization files\n\n```bash\nflutter gen-l10n\n```\n\n- Run to generate freezes files\n\n```bash\nflutter pub run build_runner build --delete-conflicting-outputs\n```\n\n- Run for **staging** or\n\n```bash\nflutter run --flavor stg -t lib/main.dart --dart-define-from-file .env.stg.json \n```\n\n- Run for **production**\n\n```bash\nflutter run --flavor prd -t lib/main.dart --dart-define-from-file .env.prd.json \n```\n\n- Test Coverage, we ignore some folders and files which is not necessary to test coverage because it are generated file\n- Note: on macOS, you need to have lcov installed on your system (`brew install lcov`) to use this:\n\n```bash\n flutter test -j8 --coverage;lcov --remove coverage/lcov.info 'lib/core/localization/generated/' 'lib/core/resources/*' 'lib/utils/services/firebase/*' '**/*.g.dart' -o coverage/new_lcov.info ;genhtml coverage/new_lcov.info -o coverage/html\n````\n\n- To generate a launcher icon based on Flavor\n\n```bash\ndart run flutter_launcher_icons \n```\n\n- To generate native splash screen\n\n```bash\ndart run flutter_native_splash:create --flavors stg,prd\n```\n\n- To generate mock class\n\n```bash\ndart pub run build_runner build\n```\n\n## Feature ✅\n\n- [x] BLoC State Management\n- [x] **Clean Architecture with TDD**\n    - [x] Unit Test\n    - [x] Widget Test\n    - [x] BLoC test\n- [x] Theme Configuration: `System, Light, Dark`\n- [x] Multi-Language: `English, Bahasa`\n- [x] Login, Register Example\n- [x] Pagination Example\n- [x] [Autofill Username and Password](https://github.com/lazycatlabs/flutter_auth_app/pull/3)\n- [x] Integration Test\n- [x] Implement multi-flavor\n- [x] Auto routing based on login status\n- [x] Implement [Go Router](https://pub.dev/packages/go_router)\n\n## TODO 📝\n\n- [ ] Login with Biometric / FaceID\n\n## Maestro Test 🧪\n\n- Install Maestro on your machine [Maestro](https://maestro.mobile.dev/getting-started/installing-maestro)\n- Run this command to run the test\n  ```bash\n   maestro test maestro-stg/main.yaml #or\n   maestro test maestro-prd/main.yaml\n  ```\n\n## Architecture Proposal by [Resocoder](https://github.com/ResoCoder/flutter-tdd-clean-architecture-course)\n\n<br>\n\n![architecture-proposal](./architecture-proposal.png)\n\n## 💡Tips\n\n- **Flutter native splashscreen:** The brand image in Android > 12 the frame size is 5:2, if the width is 500px, the height should be 500/2,5 = 200px\n\n## 📜 GNU General Public License v3.0\n\n<br><br>\n\n<h3 align=\"center\">Buy me coffee if you love my works ☕️</h3>\n<p align=\"center\">\n  <a href=\"https://www.buymeacoffee.com/Lzyct\" target=\"_blank\">\n    <img src=\"https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg\" alt=\"buymeacoffe\" style=\"vertical-align:top; margin:8px\" height=\"36\">\n  </a>&nbsp;&nbsp;&nbsp;&nbsp;\n   <a href=\"https://ko-fi.com/Lzyct\" target=\"_blank\">\n    <img src=\"https://cdn.prod.website-files.com/5c14e387dab576fe667689cf/670f5a01cf2da94a032117b9_support_me_on_kofi_red-p-500.png\" alt=\"ko-fi\" style=\"vertical-align:top; margin:8px\" height=\"36\">\n  </a>&nbsp;&nbsp;&nbsp;&nbsp;\n  <a href=\"https://paypal.me/ukieTux\" target=\"_blank\">\n    <img src=\"https://blog.zoom.us/wp-content/uploads/2019/08/paypal.png\" alt=\"paypal\" style=\"vertical-align:top; margin:8px\" height=\"36\">\n  </a>\n  <a href=\"https://saweria.co/Lzyct\" target=\"_blank\">\n   <img src=\"https://1.bp.blogspot.com/-7OuHSxaNk6A/X92QPg8L9kI/AAAAAAAAG0E/lUzKf_uuVP8jCqvXpA7juh_l-TfK2jnbwCLcBGAsYHQ/s16000/SAWERIA.webp\" style=\"vertical-align:top; margin:8px\" height=\"36\" alt=\"saweria\">\n  </a>\n</p>\n<br><br>\n"
  },
  {
    "path": "analysis_options.yaml",
    "content": "include: package:lint/strict.yaml\nanalyzer:\n  exclude:\n    - '**.freezed.dart'\n    - '**.g.dart'\n    - '**.mocks.dart'\n    - '**/core/localization/generated/**'\n  errors:\n    invalid_annotation_target: ignore\nlinter:\n  rules:\n    sort_pub_dependencies: false\n    avoid_dynamic_calls: false\n    require_trailing_commas: true # Enforce trailing commas for better formatting\n    prefer_const_constructors: true # Prefer const constructors where possible\n    prefer_const_literals_to_create_immutables: true # Prefer const for immutable literals\n    avoid_unnecessary_containers: true # Discourage unnecessary Container usage\n    always_put_control_body_on_new_line: true # Improves readability for control flow\n    always_put_required_named_parameters_first: true # Improves readability for function signatures\n    prefer_single_quotes: true # Consistent string quotes\n    unnecessary_brace_in_string_interps: true # Remove unnecessary braces in string interpolation\n    unnecessary_late: true # Avoid unnecessary late keyword\n    unnecessary_new: true # Remove unnecessary new keyword\n    unnecessary_this: true # Remove unnecessary this keyword\n    prefer_expression_function_bodies: true # Use expression function bodies for single-line functions\n"
  },
  {
    "path": "android/.gitignore",
    "content": "gradle-wrapper.jar\n/.gradle\n/captures/\n/gradlew\n/gradlew.bat\n/local.properties\nGeneratedPluginRegistrant.java\napp/.cxx\n\n# Remember to never publicly share your keystore.\n# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app\nkey.properties\n"
  },
  {
    "path": "android/app/build.gradle",
    "content": "plugins {\n    id \"com.android.application\"\n    id \"kotlin-android\"\n    id \"dev.flutter.flutter-gradle-plugin\"\n    id \"com.google.gms.google-services\"\n    id \"com.google.firebase.crashlytics\"\n}\n\ndef localProperties = new Properties()\ndef localPropertiesFile = rootProject.file('local.properties')\nif (localPropertiesFile.exists()) {\n    localPropertiesFile.withReader('UTF-8') { reader ->\n        localProperties.load(reader)\n    }\n}\n\ndef flutterVersionCode = localProperties.getProperty('flutter.versionCode')\nif (flutterVersionCode == null) {\n    flutterVersionCode = '1'\n}\n\ndef flutterVersionName = localProperties.getProperty('flutter.versionName')\nif (flutterVersionName == null) {\n    flutterVersionName = '1.0'\n}\n\n\nandroid {\n    namespace \"com.lazycatlabs.auth\"\n    compileSdk 36\n\n    compileOptions {\n        sourceCompatibility JavaVersion.VERSION_1_8\n        targetCompatibility JavaVersion.VERSION_1_8\n    }\n\n    kotlinOptions {\n        jvmTarget = JavaVersion.VERSION_1_8\n    }\n\n    sourceSets {\n        main.java.srcDirs += 'src/main/kotlin'\n    }\n\n    lintOptions {\n        disable 'InvalidPackage'\n    }\n\n    defaultConfig {\n        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).\n        applicationId \"com.lazycatlabs.auth\"\n        minSdkVersion flutter.minSdkVersion\n        targetSdkVersion 35\n        versionCode flutterVersionCode.toInteger()\n        versionName flutterVersionName\n        multiDexEnabled true\n    }\n\n    buildTypes {\n        buildTypes {\n            release {\n                // TODO: Add your own signing config for the release build.\n                // Signing with the debug keys for now, so `flutter run --release` works.\n                signingConfig signingConfigs.debug\n\n                // Enables code shrinking, obfuscation, and optimization for only\n                // your project's release build type.\n                minifyEnabled true\n\n                // Enables resource shrinking, which is performed by the\n                // Android Gradle plugin.\n                shrinkResources true\n\n                // Includes the default ProGuard rules files that are packaged with\n                // the Android Gradle plugin. To learn more, go to the section about\n                // R8 configuration files.\n                proguardFiles getDefaultProguardFile(\n                        'proguard-android-optimize.txt'),\n                        'proguard-rules.pro'\n            }\n        }\n    }\n\n    flavorDimensions = [\"env\"]\n    productFlavors {\n        stg {\n            dimension 'env'\n            versionNameSuffix '-stg'\n            applicationIdSuffix \".stg\"\n            // TODO : Enable this if you want sign your app\n            //  signingConfig signingConfigs.release\n        }\n        prd {\n            dimension 'env'\n            // TODO : Enable this if you want sign your app\n            //  signingConfig signingConfigs.release\n        }\n\n\n    }\n}\n\nflutter {\n    source '../..'\n}\n\ndependencies {\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0\"\n    implementation platform('com.google.firebase:firebase-bom:34.1.0')\n    implementation 'androidx.multidex:multidex:2.0.1'\n    implementation 'com.google.firebase:firebase-analytics'\n}\n"
  },
  {
    "path": "android/app/google-services.json",
    "content": "{\n  \"project_info\": {\n    \"project_number\": \"933342696488\",\n    \"project_id\": \"mobile-app-bd59b\",\n    \"storage_bucket\": \"mobile-app-bd59b.appspot.com\"\n  },\n  \"client\": [\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:933342696488:android:38f3c637080d914d87511d\",\n        \"android_client_info\": {\n          \"package_name\": \"com.james.weighttracker\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyCdU1UveIWYwX-Lsmtl7pIigbu5lug-pTU\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"933342696488-ekbqsc1q8pkvk61nj5p0f04061ivr0ug.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.auths\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:933342696488:android:2a6b2649b130a09e87511d\",\n        \"android_client_info\": {\n          \"package_name\": \"com.lazycatlabs.auth\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyCdU1UveIWYwX-Lsmtl7pIigbu5lug-pTU\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"933342696488-ekbqsc1q8pkvk61nj5p0f04061ivr0ug.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.auths\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:933342696488:android:952e68fef0689db687511d\",\n        \"android_client_info\": {\n          \"package_name\": \"com.lazycatlabs.base\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyCdU1UveIWYwX-Lsmtl7pIigbu5lug-pTU\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"933342696488-ekbqsc1q8pkvk61nj5p0f04061ivr0ug.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.auths\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:933342696488:android:009bd6bce9a55acb87511d\",\n        \"android_client_info\": {\n          \"package_name\": \"com.lazycatlabs.wautils\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"933342696488-i2co7br6pib2js7a8vsjpio4164n0qci.apps.googleusercontent.com\",\n          \"client_type\": 1,\n          \"android_info\": {\n            \"package_name\": \"com.lazycatlabs.wautils\",\n            \"certificate_hash\": \"5cde980e56edd8e9c7396c3a900a0939dcc19681\"\n          }\n        },\n        {\n          \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyCdU1UveIWYwX-Lsmtl7pIigbu5lug-pTU\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"933342696488-65r3ei8hig6p8d4mhng670foqjr63ntt.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"933342696488-ekbqsc1q8pkvk61nj5p0f04061ivr0ug.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.auths\"\n              }\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"configuration_version\": \"1\"\n}"
  },
  {
    "path": "android/app/proguard-rules.pro",
    "content": "## Flutter wrapper\n-keep class io.flutter.app.** { *; }\n-keep class io.flutter.plugin.**  { *; }\n-keep class io.flutter.util.**  { *; }\n-keep class io.flutter.view.**  { *; }\n-keep class io.flutter.**  { *; }\n-keep class io.flutter.plugins.**  { *; }\n-dontwarn io.flutter.embedding.**\n\n## Gson rules\n# Gson uses generic type information stored in a class file when working with fields. Proguard\n# removes such information by default, so configure it to keep all of it.\n-keepattributes Signature\n\n# For using GSON @Expose annotation\n-keepattributes *Annotation*\n\n# Gson specific classes\n-dontwarn sun.misc.**\n#-keep class com.google.gson.stream.** { *; }\n\n# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,\n# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)\n-keep class * extends com.google.gson.TypeAdapter\n-keep class * implements com.google.gson.TypeAdapterFactory\n-keep class * implements com.google.gson.JsonSerializer\n-keep class * implements com.google.gson.JsonDeserializer\n\n# Prevent R8 from leaving Data object members always null\n-keepclassmembers,allowobfuscation class * {\n  @com.google.gson.annotations.SerializedName <fields>;\n}"
  },
  {
    "path": "android/app/src/debug/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.lazycatlabs.auth\">\n    <!-- Flutter needs it to communicate with the running application\n         to allow setting breakpoints, to provide hot reload, etc.\n    -->\n    <uses-permission android:name=\"android.permission.INTERNET\"/>\n</manifest>\n"
  },
  {
    "path": "android/app/src/main/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n          package=\"com.lazycatlabs.auth\">\n    <application\n            android:label=\"@string/app_name\"\n            android:icon=\"@mipmap/ic_launcher\">\n        <activity\n                android:name=\".MainActivity\"\n                android:launchMode=\"singleTop\"\n                android:theme=\"@style/LaunchTheme\"\n                android:configChanges=\"orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode\"\n                android:hardwareAccelerated=\"true\"\n                android:exported=\"true\"\n                android:windowSoftInputMode=\"adjustResize\">\n            <!-- Specifies an Android theme to apply to this Activity as soon as\n                 the Android process has started. This theme is visible to the user\n                 while the Flutter UI initializes. After that, this theme continues\n                 to determine the Window background behind the Flutter UI. -->\n            <meta-data\n                    android:name=\"io.flutter.embedding.android.NormalTheme\"\n                    android:resource=\"@style/NormalTheme\"\n            />\n\n            <intent-filter>\n                <action android:name=\"android.intent.action.MAIN\"/>\n                <category android:name=\"android.intent.category.LAUNCHER\"/>\n            </intent-filter>\n        </activity>\n        <!-- Don't delete the meta-data below.\n             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->\n        <meta-data\n                android:name=\"flutterEmbedding\"\n                android:value=\"2\"/>\n    </application>\n</manifest>\n"
  },
  {
    "path": "android/app/src/main/kotlin/com/lazycatlabs/auth/MainActivity.kt",
    "content": "package com.lazycatlabs.auth\n\nimport android.os.Build\nimport android.os.Bundle\nimport androidx.core.view.WindowCompat\nimport io.flutter.embedding.android.FlutterActivity\n\nclass MainActivity: FlutterActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        // Aligns the Flutter view vertically with the window.\n        WindowCompat.setDecorFitsSystemWindows(getWindow(), false)\n\n        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {\n            // Disable the Android splash screen fade out animation to avoid\n            // a flicker before the similar frame is drawn in Flutter.\n            splashScreen.setOnExitAnimationListener { splashScreenView -> splashScreenView.remove() }\n        }\n\n        super.onCreate(savedInstanceState)\n    }\n}\n"
  },
  {
    "path": "android/app/src/main/res/drawable/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <!-- You can insert your own image assets here -->\n    <item android:drawable=\"@color/ic_launcher_background\"/>\n    <item\n            android:height=\"350dp\"\n            android:width=\"350dp\"\n            android:gravity=\"center\">\n        <bitmap\n                android:gravity=\"fill_horizontal|fill_vertical\"\n                android:src=\"@drawable/ic_splash\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/main/res/drawable/launch_background_12.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <!-- You can insert your own image assets here -->\n    <item android:drawable=\"@color/ic_launcher_background\"/>\n    <item\n            android:height=\"350dp\"\n            android:width=\"350dp\"\n            android:gravity=\"fill_horizontal|fill_vertical\">\n        <bitmap\n                android:gravity=\"fill_horizontal|fill_vertical\"\n                android:src=\"@drawable/ic_splash\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n  <background android:drawable=\"@color/ic_launcher_background\"/>\n  <foreground android:drawable=\"@drawable/ic_launcher_foreground\"/>\n</adaptive-icon>\n"
  },
  {
    "path": "android/app/src/main/res/values/colors.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <color name=\"ic_launcher_background\">#1E1E2E</color>\n</resources>"
  },
  {
    "path": "android/app/src/main/res/values/strings.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <string name=\"app_name\">Flutter Auth</string>\n</resources>"
  },
  {
    "path": "android/app/src/main/res/values/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             Flutter draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">true</item>\n        <item name=\"android:statusBarColor\">@android:color/transparent</item>\n        <item name=\"android:windowTranslucentNavigation\">true</item>\n        <item name=\"android:windowLightStatusBar\">true</item>\n\n\n        <item name=\"android:windowSplashScreenBackground\">@color/ic_launcher_background</item>\n        <item name=\"android:windowSplashScreenAnimatedIcon\">@drawable/launch_background_12</item>\n\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/main/res/values-night/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             Flutter draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/prd/res/drawable/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/prd/res/drawable-night/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/prd/res/drawable-night-v21/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/prd/res/drawable-v21/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/prd/res/mipmap-anydpi-v26/ic_launcher.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n  <background android:drawable=\"@color/ic_launcher_background\"/>\n  <foreground>\n      <inset\n          android:drawable=\"@drawable/ic_launcher_foreground\"\n          android:inset=\"16%\" />\n  </foreground>\n</adaptive-icon>\n"
  },
  {
    "path": "android/app/src/prd/res/values/colors.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <color name=\"ic_launcher_background\">#FFFFFF</color>\n</resources>"
  },
  {
    "path": "android/app/src/prd/res/values/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             the Flutter engine draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n\n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/prd/res/values-night/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             the Flutter engine draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n\n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/prd/res/values-night-v31/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n        <item name=\"android:windowSplashScreenBackground\">#000000</item>\n        <item name=\"android:windowSplashScreenBrandingImage\">@drawable/android12branding</item>\n        <item name=\"android:windowSplashScreenAnimatedIcon\">@drawable/android12splash</item>\n        <item name=\"android:windowSplashScreenIconBackgroundColor\">#000000</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/prd/res/values-v31/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n        <item name=\"android:windowSplashScreenBackground\">#ffffff</item>\n        <item name=\"android:windowSplashScreenBrandingImage\">@drawable/android12branding</item>\n        <item name=\"android:windowSplashScreenAnimatedIcon\">@drawable/android12splash</item>\n        <item name=\"android:windowSplashScreenIconBackgroundColor\">#ffffff</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/profile/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.lazycatlabs.auth\">\n    <!-- Flutter needs it to communicate with the running application\n         to allow setting breakpoints, to provide hot reload, etc.\n    -->\n    <uses-permission android:name=\"android.permission.INTERNET\"/>\n</manifest>\n"
  },
  {
    "path": "android/app/src/stg/google-services.json",
    "content": "{\n  \"project_info\": {\n    \"project_number\": \"520881115656\",\n    \"project_id\": \"sample-49e7c\",\n    \"storage_bucket\": \"sample-49e7c.appspot.com\"\n  },\n  \"client\": [\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:520881115656:android:854b1e7d966a0555fd77bd\",\n        \"android_client_info\": {\n          \"package_name\": \"com.james.weighttracker\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyAXDLxYlgYywHeVs8Ch8uOq2t2BmtjOM0s\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"520881115656-c82m945c9cc483231hmgn0g8nke7c3q8.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.base.stg\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:520881115656:android:5ce1808f01692ab2fd77bd\",\n        \"android_client_info\": {\n          \"package_name\": \"com.lazycatlabs.auth\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyAXDLxYlgYywHeVs8Ch8uOq2t2BmtjOM0s\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"520881115656-c82m945c9cc483231hmgn0g8nke7c3q8.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.base.stg\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:520881115656:android:2ccc910b48e53ef3fd77bd\",\n        \"android_client_info\": {\n          \"package_name\": \"com.lazycatlabs.auth.stg\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyAXDLxYlgYywHeVs8Ch8uOq2t2BmtjOM0s\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"520881115656-c82m945c9cc483231hmgn0g8nke7c3q8.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.base.stg\"\n              }\n            }\n          ]\n        }\n      }\n    },\n    {\n      \"client_info\": {\n        \"mobilesdk_app_id\": \"1:520881115656:android:5cfc03a06988cdfdfd77bd\",\n        \"android_client_info\": {\n          \"package_name\": \"com.lazycatlabs.base.stg\"\n        }\n      },\n      \"oauth_client\": [\n        {\n          \"client_id\": \"520881115656-f6flpcn2p16h87t3aq78tnlrrrmcgm4i.apps.googleusercontent.com\",\n          \"client_type\": 1,\n          \"android_info\": {\n            \"package_name\": \"com.lazycatlabs.base.stg\",\n            \"certificate_hash\": \"9818aa85a4c2dbc1bf9b9901c52142410e929530\"\n          }\n        },\n        {\n          \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n          \"client_type\": 3\n        }\n      ],\n      \"api_key\": [\n        {\n          \"current_key\": \"AIzaSyAXDLxYlgYywHeVs8Ch8uOq2t2BmtjOM0s\"\n        }\n      ],\n      \"services\": {\n        \"appinvite_service\": {\n          \"other_platform_oauth_client\": [\n            {\n              \"client_id\": \"520881115656-b0iggeu3s5ophb4p94caa0h5jsmd9j7d.apps.googleusercontent.com\",\n              \"client_type\": 3\n            },\n            {\n              \"client_id\": \"520881115656-c82m945c9cc483231hmgn0g8nke7c3q8.apps.googleusercontent.com\",\n              \"client_type\": 2,\n              \"ios_info\": {\n                \"bundle_id\": \"com.lazycatlabs.base.stg\"\n              }\n            }\n          ]\n        }\n      }\n    }\n  ],\n  \"configuration_version\": \"1\"\n}"
  },
  {
    "path": "android/app/src/stg/res/drawable/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/stg/res/drawable-night/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/stg/res/drawable-night-v21/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/stg/res/drawable-v21/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item>\n        <bitmap android:gravity=\"fill\" android:src=\"@drawable/background\"/>\n    </item>\n    <item>\n        <bitmap android:gravity=\"center\" android:src=\"@drawable/splash\"/>\n    </item>\n    <item android:bottom=\"0dp\">\n        <bitmap android:gravity=\"bottom\" android:src=\"@drawable/branding\"/>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "android/app/src/stg/res/mipmap-anydpi-v26/ic_launcher.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n  <background android:drawable=\"@color/ic_launcher_background\"/>\n  <foreground>\n      <inset\n          android:drawable=\"@drawable/ic_launcher_foreground\"\n          android:inset=\"16%\" />\n  </foreground>\n</adaptive-icon>\n"
  },
  {
    "path": "android/app/src/stg/res/values/colors.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <color name=\"ic_launcher_background\">#FFFFFF</color>\n</resources>"
  },
  {
    "path": "android/app/src/stg/res/values/strings.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <string name=\"app_name\">Flutter Auth STG</string>\n</resources>"
  },
  {
    "path": "android/app/src/stg/res/values/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             the Flutter engine draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n\n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/stg/res/values-night/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             the Flutter engine draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n\n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/stg/res/values-night-v31/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n        <item name=\"android:windowSplashScreenBackground\">#000000</item>\n        <item name=\"android:windowSplashScreenBrandingImage\">@drawable/android12branding</item>\n        <item name=\"android:windowSplashScreenAnimatedIcon\">@drawable/android12splash</item>\n        <item name=\"android:windowSplashScreenIconBackgroundColor\">#000000</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/app/src/stg/res/values-v31/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:forceDarkAllowed\">false</item>\n        <item name=\"android:windowFullscreen\">false</item>\n        <item name=\"android:windowDrawsSystemBarBackgrounds\">false</item>\n        <item name=\"android:windowLayoutInDisplayCutoutMode\">shortEdges</item>\n        <item name=\"android:windowSplashScreenBackground\">#ffffff</item>\n        <item name=\"android:windowSplashScreenBrandingImage\">@drawable/android12branding</item>\n        <item name=\"android:windowSplashScreenAnimatedIcon\">@drawable/android12splash</item>\n        <item name=\"android:windowSplashScreenIconBackgroundColor\">#ffffff</item>\n    </style>\n    <!-- Theme applied to the Android Window as soon as the process has started.\n         This theme determines the color of the Android Window while your\n         Flutter UI initializes, as well as behind your Flutter UI while its\n         running.\n         \n         This Theme is only used starting with V2 of Flutter's Android embedding. -->\n    <style name=\"NormalTheme\" parent=\"@android:style/Theme.Light.NoTitleBar\">\n        <item name=\"android:windowBackground\">?android:colorBackground</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "android/build.gradle",
    "content": "allprojects {\n    repositories {\n        google()\n        mavenCentral()\n    }\n}\n\nrootProject.buildDir = '../build'\nsubprojects {\n    project.buildDir = \"${rootProject.buildDir}/${project.name}\"\n}\nsubprojects {\n    project.evaluationDependsOn(':app')\n}\n\ntasks.register(\"clean\", Delete) {\n    delete rootProject.buildDir\n}\n"
  },
  {
    "path": "android/gradle/wrapper/gradle-wrapper.properties",
    "content": "#Fri Jun 23 08:50:38 CEST 2017\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-8.9-bin.zip\n"
  },
  {
    "path": "android/gradle.properties",
    "content": "org.gradle.jvmargs=-Xmx1536M\nandroid.useAndroidX=true\nandroid.enableJetifier=true\n"
  },
  {
    "path": "android/settings.gradle",
    "content": "pluginManagement {\n    def flutterSdkPath = {\n        def properties = new Properties()\n        file(\"local.properties\").withInputStream { properties.load(it) }\n        def flutterSdkPath = properties.getProperty(\"flutter.sdk\")\n        assert flutterSdkPath != null, \"flutter.sdk not set in local.properties\"\n        return flutterSdkPath\n    }\n    settings.ext.flutterSdkPath = flutterSdkPath()\n\n    includeBuild(\"${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle\")\n\n    repositories {\n        google()\n        mavenCentral()\n        gradlePluginPortal()\n    }\n}\n\nplugins {\n    id \"dev.flutter.flutter-plugin-loader\" version \"1.0.0\"\n    id \"com.android.application\" version \"8.7.0\" apply false\n    id \"org.jetbrains.kotlin.android\" version \"2.2.20\" apply false\n    id \"com.google.gms.google-services\" version \"4.4.0\" apply false\n    id \"com.google.firebase.crashlytics\" version \"2.9.9\" apply false\n}\n\ninclude \":app\"\n"
  },
  {
    "path": "build.yaml",
    "content": "targets:\n  $default:\n    builders:\n      json_serializable:\n        options:\n          explicit_to_json: true\n"
  },
  {
    "path": "codecov.yml",
    "content": "# codecov.yml\ncodecov:\n  require_ci_to_pass: yes\n\ncoverage:\n  precision: 2\n  round: down\n  range: \"70...100\"\n\n  status:\n    project:\n      default:\n        target: 80%    # the required coverage value\n        threshold: 1%  # the leniency in hitting the target\n    patch:\n      default:\n        target: 80%\n\nignore:\n  - \"lib/core/localization/generated/\"  # Generated files\n  - \"lib/utils/services/firebase/*\"      # Firebase services\n  - \"lib/core/resources/*\"               # Resources\n  - \"lib/generated/**/*\"  # Generated files\n  - \"**/*.g.dart\"        # Generated files\n  - \"**/*.freezed.dart\"  # Freezed generated files\n  \n"
  },
  {
    "path": "flutter_launcher_icons-prd.yaml",
    "content": "flutter_launcher_icons:\n  android: true\n  ios: true\n  remove_alpha_ios: true\n  image_path: \"assets/images/ic_launcher.png\"\n  image_path_ios_dark_transparent: \"assets/images/ic_launcher_dark.png\"\n  adaptive_icon_background: \"#FFFFFF\"\n  adaptive_icon_foreground: \"assets/images/ic_launcher_foreground.png\"\n"
  },
  {
    "path": "flutter_launcher_icons-stg.yaml",
    "content": "flutter_launcher_icons:\n  android: true\n  ios: true\n  remove_alpha_ios: true\n  image_path: \"assets/images/ic_launcher_stg.png\"\n  image_path_ios_dark_transparent: \"assets/images/ic_launcher_stg_dark.png\"\n  adaptive_icon_background: \"#FFFFFF\"\n  adaptive_icon_foreground: \"assets/images/ic_launcher_foreground_stg.png\"\n"
  },
  {
    "path": "flutter_native_splash-prd.yaml",
    "content": "flutter_native_splash:\n  color: \"#ffffff\"\n  image: assets/images/ic_logo.png\n  branding: assets/images/ic_branding.png\n  color_dark: \"#000000\"\n  image_dark: assets/images/ic_logo_dark.png\n  branding_dark: assets/images/ic_branding_dark.png\n  branding_bottom_padding_ios: 24\n  branding_bottom_padding_android: 0\n\n  android_12:\n    image: assets/images/ic_logo_12.png\n    icon_background_color: \"#ffffff\"\n    branding: assets/images/ic_branding_12.png\n    image_dark: assets/images/ic_logo_12_dark.png\n    icon_background_color_dark: \"#000000\"\n    branding_dark: assets/images/ic_branding_12_dark.png\n\n  web: false\n"
  },
  {
    "path": "flutter_native_splash-stg.yaml",
    "content": "flutter_native_splash:\n  color: \"#ffffff\"\n  image: assets/images/ic_logo_stg.png\n  branding: assets/images/ic_branding.png\n  color_dark: \"#000000\"\n  image_dark: assets/images/ic_logo_stg_dark.png\n  branding_dark: assets/images/ic_branding_dark.png\n  branding_bottom_padding_ios: 24\n  branding_bottom_padding_android: 0\n\n  android_12:\n    image: assets/images/ic_logo_12_stg.png\n    icon_background_color: \"#ffffff\"\n    branding: assets/images/ic_branding_12.png\n    image_dark: assets/images/ic_logo_12_stg_dark.png\n    icon_background_color_dark: \"#000000\"\n    branding_dark: assets/images/ic_branding_12_dark.png\n\n  web: false\n"
  },
  {
    "path": "ios/.gitignore",
    "content": "*.mode1v3\n*.mode2v3\n*.moved-aside\n*.pbxuser\n*.perspectivev3\n**/*sync/\n.sconsign.dblite\n.tags*\n**/.vagrant/\n**/DerivedData/\nIcon?\n**/Pods/\n**/.symlinks/\nprofile\nxcuserdata\n**/.generated/\nFlutter/App.framework\nFlutter/Flutter.framework\nFlutter/Flutter.podspec\nFlutter/Generated.xcconfig\nFlutter/app.flx\nFlutter/app.zip\nFlutter/flutter_assets/\nFlutter/flutter_export_environment.sh\nServiceDefinitions.json\nRunner/GeneratedPluginRegistrant.*\n\n# Exceptions to above rules.\n!default.mode1v3\n!default.mode2v3\n!default.pbxuser\n!default.perspectivev3\n\n# Ignore build folder\nbuild/"
  },
  {
    "path": "ios/Flutter/AppFrameworkInfo.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n  <key>CFBundleDevelopmentRegion</key>\n  <string>$(DEVELOPMENT_LANGUAGE)</string>\n  <key>CFBundleExecutable</key>\n  <string>App</string>\n  <key>CFBundleIdentifier</key>\n  <string>io.flutter.flutter.app</string>\n  <key>CFBundleInfoDictionaryVersion</key>\n  <string>6.0</string>\n  <key>CFBundleName</key>\n  <string>App</string>\n  <key>CFBundlePackageType</key>\n  <string>FMWK</string>\n  <key>CFBundleShortVersionString</key>\n  <string>1.0</string>\n  <key>CFBundleSignature</key>\n  <string>????</string>\n  <key>CFBundleVersion</key>\n  <string>1.0</string>\n  <key>MinimumOSVersion</key>\n  <string>13.0</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Flutter/Debug.xcconfig",
    "content": "#include \"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig\"\n#include \"Generated.xcconfig\"\n"
  },
  {
    "path": "ios/Flutter/Release.xcconfig",
    "content": "#include \"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig\"\n#include \"Generated.xcconfig\"\n"
  },
  {
    "path": "ios/Flutter/ephemeral/flutter_lldb_helper.py",
    "content": "#\n# Generated file, do not edit.\n#\n\nimport lldb\n\ndef handle_new_rx_page(frame: lldb.SBFrame, bp_loc, extra_args, intern_dict):\n    \"\"\"Intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGES and touch the pages.\"\"\"\n    base = frame.register[\"x0\"].GetValueAsAddress()\n    page_len = frame.register[\"x1\"].GetValueAsUnsigned()\n\n    # Note: NOTIFY_DEBUGGER_ABOUT_RX_PAGES will check contents of the\n    # first page to see if handled it correctly. This makes diagnosing\n    # misconfiguration (e.g. missing breakpoint) easier.\n    data = bytearray(page_len)\n    data[0:8] = b'IHELPED!'\n\n    error = lldb.SBError()\n    frame.GetThread().GetProcess().WriteMemory(base, data, error)\n    if not error.Success():\n        print(f'Failed to write into {base}[+{page_len}]', error)\n        return\n\ndef __lldb_init_module(debugger: lldb.SBDebugger, _):\n    target = debugger.GetDummyTarget()\n    # Caveat: must use BreakpointCreateByRegEx here and not\n    # BreakpointCreateByName. For some reasons callback function does not\n    # get carried over from dummy target for the later.\n    bp = target.BreakpointCreateByRegex(\"^NOTIFY_DEBUGGER_ABOUT_RX_PAGES$\")\n    bp.SetScriptCallbackFunction('{}.handle_new_rx_page'.format(__name__))\n    bp.SetAutoContinue(True)\n    print(\"-- LLDB integration loaded --\")\n"
  },
  {
    "path": "ios/Flutter/ephemeral/flutter_lldbinit",
    "content": "#\n# Generated file, do not edit.\n#\n\ncommand script import --relative-to-command-file flutter_lldb_helper.py\n"
  },
  {
    "path": "ios/Podfile",
    "content": "# Uncomment this line to define a global platform for your project\n# platform :ios, '13.0'\n\n# CocoaPods analytics sends network stats synchronously affecting flutter build latency.\nENV['COCOAPODS_DISABLE_STATS'] = 'true'\n\nproject 'Runner', {\n  'Debug' => :debug,\n  'Profile' => :release,\n  'Release' => :release,\n}\n\ndef flutter_root\n  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)\n  unless File.exist?(generated_xcode_build_settings_path)\n    raise \"#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first\"\n  end\n\n  File.foreach(generated_xcode_build_settings_path) do |line|\n    matches = line.match(/FLUTTER_ROOT\\=(.*)/)\n    return matches[1].strip if matches\n  end\n  raise \"FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get\"\nend\n\nrequire File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)\n\nflutter_ios_podfile_setup\n\ntarget 'Runner' do\n  use_frameworks!\n  use_modular_headers!\n\n  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))\nend\n\npost_install do |installer|\n  installer.pods_project.targets.each do |target|\n    flutter_additional_ios_build_settings(target)\n  end\nend\n"
  },
  {
    "path": "ios/Runner/AppDelegate.swift",
    "content": "import UIKit\nimport Flutter\n\n@main\n@objc class AppDelegate: FlutterAppDelegate {\n  override func application(\n    _ application: UIApplication,\n    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?\n  ) -> Bool {\n    GeneratedPluginRegistrant.register(with: self)\n    return super.application(application, didFinishLaunchingWithOptions: launchOptions)\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/AppIcon-prd.appiconset/Contents.json",
    "content": "{\"images\":[{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-20x20@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-20x20@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-29x29@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-29x29@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-38x38@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-38x38@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-40x40@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-40x40@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-60x60@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-60x60@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-64x64@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-64x64@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"68x68\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-68x68@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"76x76\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-76x76@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"83.5x83.5\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-83.5x83.5@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"1024x1024\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-1024x1024@1x.png\",\"scale\":\"1x\",\"platform\":\"ios\"},{\"size\":\"1024x1024\",\"idiom\":\"ios-marketing\",\"filename\":\"AppIcon-prd-1024x1024@1x.png\",\"scale\":\"1x\"},{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-20x20@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-20x20@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-29x29@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-29x29@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-38x38@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-38x38@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-40x40@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-40x40@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-60x60@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-60x60@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-64x64@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-64x64@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"68x68\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-68x68@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"76x76\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-76x76@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"83.5x83.5\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-83.5x83.5@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"1024x1024\",\"idiom\":\"universal\",\"filename\":\"AppIcon-prd-Dark-1024x1024@1x.png\",\"scale\":\"1x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]}],\"info\":{\"version\":1,\"author\":\"xcode\"}}"
  },
  {
    "path": "ios/Runner/Assets.xcassets/AppIcon-stg.appiconset/Contents.json",
    "content": "{\"images\":[{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-20x20@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-20x20@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-29x29@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-29x29@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-38x38@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-38x38@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-40x40@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-40x40@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-60x60@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-60x60@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-64x64@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-64x64@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\"},{\"size\":\"68x68\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-68x68@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"76x76\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-76x76@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"83.5x83.5\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-83.5x83.5@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\"},{\"size\":\"1024x1024\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-1024x1024@1x.png\",\"scale\":\"1x\",\"platform\":\"ios\"},{\"size\":\"1024x1024\",\"idiom\":\"ios-marketing\",\"filename\":\"AppIcon-stg-1024x1024@1x.png\",\"scale\":\"1x\"},{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-20x20@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"20x20\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-20x20@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-29x29@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"29x29\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-29x29@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-38x38@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"38x38\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-38x38@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-40x40@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"40x40\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-40x40@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-60x60@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"60x60\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-60x60@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-64x64@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"64x64\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-64x64@3x.png\",\"scale\":\"3x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"68x68\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-68x68@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"76x76\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-76x76@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"83.5x83.5\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-83.5x83.5@2x.png\",\"scale\":\"2x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]},{\"size\":\"1024x1024\",\"idiom\":\"universal\",\"filename\":\"AppIcon-stg-Dark-1024x1024@1x.png\",\"scale\":\"1x\",\"platform\":\"ios\",\"appearances\":[{\"appearance\":\"luminosity\",\"value\":\"dark\"}]}],\"info\":{\"version\":1,\"author\":\"xcode\"}}"
  },
  {
    "path": "ios/Runner/Assets.xcassets/BrandingImagePrd.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"BrandingImage.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"BrandingImageDark.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"filename\" : \"BrandingImage@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"BrandingImageDark@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"filename\" : \"BrandingImage@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"BrandingImageDark@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/BrandingImageStg.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"BrandingImage.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"BrandingImageDark.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"filename\" : \"BrandingImage@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"BrandingImageDark@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"filename\" : \"BrandingImage@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"BrandingImageDark@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/LaunchBackgroundPrd.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"background.png\",\n      \"idiom\" : \"universal\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"darkbackground.png\",\n      \"idiom\" : \"universal\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/LaunchBackgroundStg.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"background.png\",\n      \"idiom\" : \"universal\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"darkbackground.png\",\n      \"idiom\" : \"universal\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/LaunchImagePrd.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"LaunchImage.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"LaunchImageDark.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"filename\" : \"LaunchImage@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"LaunchImageDark@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"filename\" : \"LaunchImage@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"LaunchImageDark@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Assets.xcassets/LaunchImageStg.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"filename\" : \"LaunchImage.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"LaunchImageDark.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"filename\" : \"LaunchImage@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"LaunchImageDark@2x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"filename\" : \"LaunchImage@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"appearances\" : [\n        {\n          \"appearance\" : \"luminosity\",\n          \"value\" : \"dark\"\n        }\n      ],\n      \"filename\" : \"LaunchImageDark@3x.png\",\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"author\" : \"xcode\",\n    \"version\" : 1\n  }\n}\n"
  },
  {
    "path": "ios/Runner/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"22155\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <device id=\"retina6_12\" orientation=\"portrait\" appearance=\"light\"/>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"22131\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Ydg-fD-yQy\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xbc-2k-c8Z\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleAspectFit\" semanticContentAttribute=\"spatial\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"393\" height=\"852\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleAspectFit\" semanticContentAttribute=\"spatial\" misplaced=\"YES\" image=\"LaunchImage\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"YRO-k0-Ey4\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"336\" width=\"393\" height=\"181\"/>\n                            </imageView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"0.11764705882352941\" green=\"0.11764705882352941\" blue=\"0.1803921568627451\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"centerX\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerX\" id=\"1a2-6s-vTC\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"centerY\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerY\" id=\"4X2-HB-R7a\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"80.152671755725194\" y=\"264.08450704225356\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"LaunchImage\" width=\"1480\" height=\"1480\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "ios/Runner/Base.lproj/LaunchScreenPrd.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"12121\" systemVersion=\"16G29\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"12089\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Ydg-fD-yQy\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xbc-2k-c8Z\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" image=\"LaunchBackgroundPrd\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"tWc-Dq-wcI\"/>\n                            <imageView opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" image=\"LaunchImagePrd\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"YRO-k0-Ey4\"></imageView>\n                            <imageView clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" image=\"BrandingImagePrd\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Uyq-Kz-ftE\"/>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstAttribute=\"bottom\" secondItem=\"Uyq-Kz-ftE\" secondAttribute=\"bottom\" constant=\"24\" id=\"8Yb-q4-8bl\"/>\n                            <constraint firstItem=\"Uyq-Kz-ftE\" firstAttribute=\"centerX\" secondItem=\"YRO-k0-Ey4\" secondAttribute=\"centerX\" id=\"3kg-TC-cPP\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"leading\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"leading\" id=\"3T2-ad-Qdv\"/>\n                            <constraint firstItem=\"tWc-Dq-wcI\" firstAttribute=\"bottom\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"bottom\" id=\"RPx-PI-7Xg\"/>\n                            <constraint firstItem=\"tWc-Dq-wcI\" firstAttribute=\"top\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"top\" id=\"SdS-ul-q2q\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"tWc-Dq-wcI\" secondAttribute=\"trailing\" id=\"Swv-Gf-Rwn\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"YRO-k0-Ey4\" secondAttribute=\"trailing\" id=\"TQA-XW-tRk\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"bottom\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"bottom\" id=\"duK-uY-Gun\"/>\n                            <constraint firstItem=\"tWc-Dq-wcI\" firstAttribute=\"leading\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"leading\" id=\"kV7-tw-vXt\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"top\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"top\" id=\"xPn-NY-SIU\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"LaunchImagePrd\" width=\"500\" height=\"473\"/>\n        <image name=\"LaunchBackgroundPrd\" width=\"1\" height=\"1\"/>\n        <image name=\"BrandingImagePrd\" width=\"1\" height=\"1\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "ios/Runner/Base.lproj/LaunchScreenStg.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"12121\" systemVersion=\"16G29\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"12089\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Ydg-fD-yQy\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xbc-2k-c8Z\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" image=\"LaunchBackgroundStg\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"tWc-Dq-wcI\"/>\n                            <imageView opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" image=\"LaunchImageStg\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"YRO-k0-Ey4\"></imageView>\n                            <imageView clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" image=\"BrandingImageStg\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Uyq-Kz-ftE\"/>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstAttribute=\"bottom\" secondItem=\"Uyq-Kz-ftE\" secondAttribute=\"bottom\" constant=\"24\" id=\"8Yb-q4-8bl\"/>\n                            <constraint firstItem=\"Uyq-Kz-ftE\" firstAttribute=\"centerX\" secondItem=\"YRO-k0-Ey4\" secondAttribute=\"centerX\" id=\"3kg-TC-cPP\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"leading\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"leading\" id=\"3T2-ad-Qdv\"/>\n                            <constraint firstItem=\"tWc-Dq-wcI\" firstAttribute=\"bottom\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"bottom\" id=\"RPx-PI-7Xg\"/>\n                            <constraint firstItem=\"tWc-Dq-wcI\" firstAttribute=\"top\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"top\" id=\"SdS-ul-q2q\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"tWc-Dq-wcI\" secondAttribute=\"trailing\" id=\"Swv-Gf-Rwn\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"YRO-k0-Ey4\" secondAttribute=\"trailing\" id=\"TQA-XW-tRk\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"bottom\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"bottom\" id=\"duK-uY-Gun\"/>\n                            <constraint firstItem=\"tWc-Dq-wcI\" firstAttribute=\"leading\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"leading\" id=\"kV7-tw-vXt\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"top\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"top\" id=\"xPn-NY-SIU\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"LaunchImageStg\" width=\"500\" height=\"473\"/>\n        <image name=\"LaunchBackgroundStg\" width=\"1\" height=\"1\"/>\n        <image name=\"BrandingImageStg\" width=\"1\" height=\"1\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "ios/Runner/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"22155\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <device id=\"retina6_12\" orientation=\"portrait\" appearance=\"light\"/>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"22131\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Flutter View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"FlutterViewController\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"393\" height=\"852\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-16\" y=\"-40\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "ios/Runner/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n\t<dict>\n\t\t<key>CADisableMinimumFrameDurationOnPhone</key>\n\t\t<true/>\n\t\t<key>CFBundleDevelopmentRegion</key>\n\t\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t\t<key>CFBundleDisplayName</key>\n\t\t<string>$(APP_DISPLAY_NAME)</string>\n\t\t<key>CFBundleExecutable</key>\n\t\t<string>$(EXECUTABLE_NAME)</string>\n\t\t<key>CFBundleIdentifier</key>\n\t\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t\t<key>CFBundleInfoDictionaryVersion</key>\n\t\t<string>6.0</string>\n\t\t<key>CFBundleName</key>\n\t\t<string>flutter_auth_app</string>\n\t\t<key>CFBundlePackageType</key>\n\t\t<string>APPL</string>\n\t\t<key>CFBundleShortVersionString</key>\n\t\t<string>$(FLUTTER_BUILD_NAME)</string>\n\t\t<key>CFBundleSignature</key>\n\t\t<string>????</string>\n\t\t<key>CFBundleVersion</key>\n\t\t<string>$(FLUTTER_BUILD_NUMBER)</string>\n\t\t<key>ITSAppUsesNonExemptEncryption</key>\n\t\t<false/>\n\t\t<key>LSRequiresIPhoneOS</key>\n\t\t<true/>\n\t\t<key>NSAppleMusicUsageDescription</key>\n\t\t<string>Apple Music Description</string>\n\t\t<key>NSCalendarsUsageDescription</key>\n\t\t<string>Calendar description</string>\n\t\t<key>NSContactsUsageDescription</key>\n\t\t<string>Contact description</string>\n\t\t<key>NSLocationAlwaysUsageDescription</key>\n\t\t<string>NSLocationAlwaysUsageDescription</string>\n\t\t<key>NSLocationWhenInUseUsageDescription</key>\n\t\t<string>NSLocationWhenInUseUsageDescription</string>\n\t\t<key>NSMotionUsageDescription</key>\n\t\t<string>NSMotionUsageDescription</string>\n\t\t<key>NSSpeechRecognitionUsageDescription</key>\n\t\t<string>NSSpeechRecognitionUsageDescription</string>\n\t\t<key>UILaunchStoryboardName</key>\n\t\t<string>${LAUNCH_SCREEN}</string>\n\t\t<key>UIMainStoryboardFile</key>\n\t\t<string>Main</string>\n\t\t<key>UISupportedInterfaceOrientations</key>\n\t\t<array>\n\t\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t\t</array>\n\t\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t\t<array>\n\t\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t\t</array>\n\t\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t\t<false/>\n\t\t<key>UIApplicationSupportsIndirectInputEvents</key>\n\t\t<true/>\n\t\t<key>UIStatusBarHidden</key>\n\t\t<false/>\n\t</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner/Runner-Bridging-Header.h",
    "content": "#import \"GeneratedPluginRegistrant.h\"\n"
  },
  {
    "path": "ios/Runner/Runner.entitlements",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>com.apple.developer.associated-domains</key>\n\t<array>\n\t\t<string>applinks:lazycatlabs.com</string>\n\t\t<string>webcredentials:lazycatlabs.com</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 54;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };\n\t\t3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };\n\t\t74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };\n\t\t780A53CC2C246251002E0A2C /* LaunchScreenStg.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 780A53C82C246251002E0A2C /* LaunchScreenStg.storyboard */; };\n\t\t780A53CD2C246251002E0A2C /* LaunchScreenPrd.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 780A53CA2C246251002E0A2C /* LaunchScreenPrd.storyboard */; };\n\t\t78CA03382868ACF50042EE7F /* config in Resources */ = {isa = PBXBuildFile; fileRef = 78CA03372868ACF50042EE7F /* config */; };\n\t\t97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };\n\t\t97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };\n\t\tE2D6FEB538A115832E8C4BC4 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 908EE3BAD9BEF949EA5DCFB2 /* Pods_Runner.framework */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\t9705A1C41CF9048500538489 /* Embed Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tname = \"Embed Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\t1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = \"<group>\"; };\n\t\t1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = \"<group>\"; };\n\t\t3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = \"<group>\"; };\n\t\t5BBAB033A16FB58C30E02EBD /* Pods-Runner.release-prd.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.release-prd.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.release-prd.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t63A93C53F07E2C630D7ABD08 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.profile.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t6AC1EB5494E13DCE832B3B38 /* Pods-Runner.release-stg.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.release-stg.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.release-stg.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = \"Runner-Bridging-Header.h\"; sourceTree = \"<group>\"; };\n\t\t74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t780A53C92C246251002E0A2C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreenStg.storyboard; sourceTree = \"<group>\"; };\n\t\t780A53CB2C246251002E0A2C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreenPrd.storyboard; sourceTree = \"<group>\"; };\n\t\t78CA03372868ACF50042EE7F /* config */ = {isa = PBXFileReference; lastKnownFileType = folder; path = config; sourceTree = \"<group>\"; };\n\t\t7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = \"<group>\"; };\n\t\t908EE3BAD9BEF949EA5DCFB2 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = \"<group>\"; };\n\t\t9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = \"<group>\"; };\n\t\t97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tAB4713132823F47900D6ED06 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = \"<group>\"; };\n\t\tADEFC56A2C5A340E42B7B20A /* Pods-Runner.debug-stg.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.debug-stg.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.debug-stg.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tCD7B34EFEDDA1685D846827A /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.debug.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tD5E2AD314EB23754E64D4B34 /* Pods-Runner.debug-prd.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.debug-prd.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.debug-prd.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tE0442FB99154CFF9A7A75600 /* Pods-Runner.profile-stg.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.profile-stg.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.profile-stg.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tE7AF144A3EF15B9DE242E60B /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.release.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tEFF278CECE2951ED1B883959 /* Pods-Runner.profile-prd.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Runner.profile-prd.xcconfig\"; path = \"Target Support Files/Pods-Runner/Pods-Runner.profile-prd.xcconfig\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t97C146EB1CF9000F007C117D /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tE2D6FEB538A115832E8C4BC4 /* Pods_Runner.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t18A557447A2C925D0884E8F0 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t908EE3BAD9BEF949EA5DCFB2 /* Pods_Runner.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t38EE4B8F6C60E036C6AE3FA2 /* Pods */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tCD7B34EFEDDA1685D846827A /* Pods-Runner.debug.xcconfig */,\n\t\t\t\tE7AF144A3EF15B9DE242E60B /* Pods-Runner.release.xcconfig */,\n\t\t\t\t63A93C53F07E2C630D7ABD08 /* Pods-Runner.profile.xcconfig */,\n\t\t\t\tD5E2AD314EB23754E64D4B34 /* Pods-Runner.debug-prd.xcconfig */,\n\t\t\t\tADEFC56A2C5A340E42B7B20A /* Pods-Runner.debug-stg.xcconfig */,\n\t\t\t\t5BBAB033A16FB58C30E02EBD /* Pods-Runner.release-prd.xcconfig */,\n\t\t\t\t6AC1EB5494E13DCE832B3B38 /* Pods-Runner.release-stg.xcconfig */,\n\t\t\t\tEFF278CECE2951ED1B883959 /* Pods-Runner.profile-prd.xcconfig */,\n\t\t\t\tE0442FB99154CFF9A7A75600 /* Pods-Runner.profile-stg.xcconfig */,\n\t\t\t);\n\t\t\tpath = Pods;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t9740EEB11CF90186004384FC /* Flutter */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,\n\t\t\t\t9740EEB21CF90195004384FC /* Debug.xcconfig */,\n\t\t\t\t7AFA3C8E1D35360C0083082E /* Release.xcconfig */,\n\t\t\t\t9740EEB31CF90195004384FC /* Generated.xcconfig */,\n\t\t\t);\n\t\t\tname = Flutter;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146E51CF9000F007C117D = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t78CA03372868ACF50042EE7F /* config */,\n\t\t\t\t9740EEB11CF90186004384FC /* Flutter */,\n\t\t\t\t97C146F01CF9000F007C117D /* Runner */,\n\t\t\t\t97C146EF1CF9000F007C117D /* Products */,\n\t\t\t\t38EE4B8F6C60E036C6AE3FA2 /* Pods */,\n\t\t\t\t18A557447A2C925D0884E8F0 /* Frameworks */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146EF1CF9000F007C117D /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146EE1CF9000F007C117D /* Runner.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146F01CF9000F007C117D /* Runner */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t780A53CA2C246251002E0A2C /* LaunchScreenPrd.storyboard */,\n\t\t\t\t780A53C82C246251002E0A2C /* LaunchScreenStg.storyboard */,\n\t\t\t\tAB4713132823F47900D6ED06 /* Runner.entitlements */,\n\t\t\t\t97C146FA1CF9000F007C117D /* Main.storyboard */,\n\t\t\t\t97C146FD1CF9000F007C117D /* Assets.xcassets */,\n\t\t\t\t97C147021CF9000F007C117D /* Info.plist */,\n\t\t\t\t1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,\n\t\t\t\t1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,\n\t\t\t\t74858FAE1ED2DC5600515810 /* AppDelegate.swift */,\n\t\t\t\t74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,\n\t\t\t);\n\t\t\tpath = Runner;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t97C146ED1CF9000F007C117D /* Runner */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget \"Runner\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t7B4F8DD92B482FFFC26A5465 /* [CP] Check Pods Manifest.lock */,\n\t\t\t\t9740EEB61CF901F6004384FC /* Run Script */,\n\t\t\t\t97C146EA1CF9000F007C117D /* Sources */,\n\t\t\t\t97C146EB1CF9000F007C117D /* Frameworks */,\n\t\t\t\t97C146EC1CF9000F007C117D /* Resources */,\n\t\t\t\t9705A1C41CF9048500538489 /* Embed Frameworks */,\n\t\t\t\t3B06AD1E1E4923F5004D2608 /* Thin Binary */,\n\t\t\t\t26110B88D73D3AE38C9A856A /* [CP] Embed Pods Frameworks */,\n\t\t\t\t78CA03392868AD680042EE7F /* Copy GoogleService-Info.plist to the correct location */,\n\t\t\t\t785534932A66121900BBB266 /* ShellScript */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Runner;\n\t\t\tproductName = Runner;\n\t\t\tproductReference = 97C146EE1CF9000F007C117D /* Runner.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t97C146E61CF9000F007C117D /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 1510;\n\t\t\t\tORGANIZATIONNAME = \"\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t97C146ED1CF9000F007C117D = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.3.1;\n\t\t\t\t\t\tLastSwiftMigration = 1100;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject \"Runner\" */;\n\t\t\tcompatibilityVersion = \"Xcode 9.3\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 97C146E51CF9000F007C117D;\n\t\t\tproductRefGroup = 97C146EF1CF9000F007C117D /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t97C146ED1CF9000F007C117D /* Runner */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t97C146EC1CF9000F007C117D /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t780A53CC2C246251002E0A2C /* LaunchScreenStg.storyboard in Resources */,\n\t\t\t\t78CA03382868ACF50042EE7F /* config in Resources */,\n\t\t\t\t3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,\n\t\t\t\t97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,\n\t\t\t\t780A53CD2C246251002E0A2C /* LaunchScreenPrd.storyboard in Resources */,\n\t\t\t\t97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t26110B88D73D3AE38C9A856A /* [CP] Embed Pods Frameworks */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist\",\n\t\t\t);\n\t\t\tname = \"[CP] Embed Pods Frameworks\";\n\t\t\toutputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\t3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\talwaysOutOfDate = 1;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\",\n\t\t\t);\n\t\t\tname = \"Thin Binary\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"/bin/sh \\\"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\\" embed_and_thin\";\n\t\t};\n\t\t785534932A66121900BBB266 /* ShellScript */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}\",\n\t\t\t\t\"$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)\",\n\t\t\t);\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"# Type a script or drag a script file from your workspace to insert its path.\\n\\\"${PODS_ROOT}/FirebaseCrashlytics/run\\\"\\n\";\n\t\t};\n\t\t78CA03392868AD680042EE7F /* Copy GoogleService-Info.plist to the correct location */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Copy GoogleService-Info.plist to the correct location\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/zsh;\n\t\t\tshellScript = \"# Type a script or drag a script file from your workspace to insert its path.\\nsetopt KSH_ARRAYS BASH_REMATCH\\nenvironment=\\\"default\\\"\\n\\n# Regex to extract the scheme name from the Build Configuration\\n# We have named our Build Configurations as Debug-dev, Debug-prod etc.\\n# Here, dev and prod are the scheme names. This kind of naming is required by Flutter for flavors to work.\\n# We are using the $CONFIGURATION variable available in the XCode build environment to extract \\n# the environment (or flavor)\\n# For eg.\\n# If CONFIGURATION=\\\"Debug-prod\\\", then environment will get set to \\\"prod\\\".\\nif [[ $CONFIGURATION =~ -([^-]*)$ ]]; then\\nenvironment=${BASH_REMATCH[1]}\\nfi\\n\\necho $environment\\n\\n# Name and path of the resource we're copying\\nGOOGLESERVICE_INFO_PLIST=GoogleService-Info.plist\\nGOOGLESERVICE_INFO_FILE=${PROJECT_DIR}/config/${environment}/${GOOGLESERVICE_INFO_PLIST}\\n\\n# Make sure GoogleService-Info.plist exists\\necho \\\"Looking for ${GOOGLESERVICE_INFO_PLIST} in ${GOOGLESERVICE_INFO_FILE}\\\"\\nif [ ! -f $GOOGLESERVICE_INFO_FILE ]\\nthen\\necho \\\"No GoogleService-Info.plist found. Please ensure it's in the proper directory.\\\"\\nexit 1\\nfi\\n\\n# Get a reference to the destination location for the GoogleService-Info.plist\\n# This is the default location where Firebase init code expects to find GoogleServices-Info.plist file\\nPLIST_DESTINATION=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\\necho \\\"Will copy ${GOOGLESERVICE_INFO_PLIST} to final destination: ${PLIST_DESTINATION}\\\"\\n\\n# Copy over the prod GoogleService-Info.plist for Release builds\\ncp \\\"${GOOGLESERVICE_INFO_FILE}\\\" \\\"${PLIST_DESTINATION}\\\"\\nunsetopt KSH_ARRAYS\\n\";\n\t\t};\n\t\t7B4F8DD92B482FFFC26A5465 /* [CP] Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\",\n\t\t\t\t\"${PODS_ROOT}/Manifest.lock\",\n\t\t\t);\n\t\t\tname = \"[CP] Check Pods Manifest.lock\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t\t\"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"diff \\\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\\\" \\\"${PODS_ROOT}/Manifest.lock\\\" > /dev/null\\nif [ $? != 0 ] ; then\\n    # print error to STDERR\\n    echo \\\"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\\\" >&2\\n    exit 1\\nfi\\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\\necho \\\"SUCCESS\\\" > \\\"${SCRIPT_OUTPUT_FILE_0}\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\t9740EEB61CF901F6004384FC /* Run Script */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\talwaysOutOfDate = 1;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Run Script\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"/bin/sh \\\"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\\" build\";\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t97C146EA1CF9000F007C117D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,\n\t\t\t\t1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t780A53C82C246251002E0A2C /* LaunchScreenStg.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t780A53C92C246251002E0A2C /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreenStg.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t780A53CA2C246251002E0A2C /* LaunchScreenPrd.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t780A53CB2C246251002E0A2C /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreenPrd.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146FA1CF9000F007C117D /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146FB1CF9000F007C117D /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t249021D3217E4FDB00AE95B9 /* Profile-prd */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 13.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSUPPORTED_PLATFORMS = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = \"Profile-prd\";\n\t\t};\n\t\t249021D4217E4FDB00AE95B9 /* Profile-prd */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tAPP_DISPLAY_NAME = \"Flutter Auth\";\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = \"AppIcon-prd\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;\n\t\t\t\tCODE_SIGN_IDENTITY = \"Apple Development\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tDEVELOPMENT_TEAM = A83F92587U;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 15.6;\n\t\t\t\tLAUNCH_SCREEN = LaunchScreenPrd;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.lazycatlabs.auths;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE_SPECIFIER = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = \"Profile-prd\";\n\t\t};\n\t\t78CA03312868A9F00042EE7F /* Debug-stg */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 13.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = \"Debug-stg\";\n\t\t};\n\t\t78CA03322868A9F00042EE7F /* Debug-stg */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tAPP_DISPLAY_NAME = \"Flutter Auth STG\";\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = \"AppIcon-stg\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;\n\t\t\t\tCODE_SIGN_IDENTITY = \"Apple Development\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tDEVELOPMENT_TEAM = A83F92587U;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 15.6;\n\t\t\t\tLAUNCH_SCREEN = LaunchScreenStg;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.lazycatlabs.auths.stg;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE_SPECIFIER = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = \"Debug-stg\";\n\t\t};\n\t\t78CA03332868A9F90042EE7F /* Profile-stg */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 13.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSUPPORTED_PLATFORMS = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = \"Profile-stg\";\n\t\t};\n\t\t78CA03342868A9F90042EE7F /* Profile-stg */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tAPP_DISPLAY_NAME = \"Flutter Auth STG\";\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = \"AppIcon-stg\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;\n\t\t\t\tCODE_SIGN_IDENTITY = \"Apple Development\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tDEVELOPMENT_TEAM = A83F92587U;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 15.6;\n\t\t\t\tLAUNCH_SCREEN = LaunchScreenStg;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.lazycatlabs.auths.stg;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE_SPECIFIER = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = \"Profile-stg\";\n\t\t};\n\t\t78CA03352868AA000042EE7F /* Release-stg */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 13.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSUPPORTED_PLATFORMS = iphoneos;\n\t\t\t\tSWIFT_COMPILATION_MODE = wholemodule;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = \"Release-stg\";\n\t\t};\n\t\t78CA03362868AA000042EE7F /* Release-stg */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tAPP_DISPLAY_NAME = \"Flutter Auth STG\";\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = \"AppIcon-stg\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;\n\t\t\t\tCODE_SIGN_IDENTITY = \"Apple Development\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tDEVELOPMENT_TEAM = A83F92587U;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 15.6;\n\t\t\t\tLAUNCH_SCREEN = LaunchScreenStg;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.lazycatlabs.auths.stg;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE_SPECIFIER = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = \"Release-stg\";\n\t\t};\n\t\t97C147031CF9000F007C117D /* Debug-prd */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 13.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = \"Debug-prd\";\n\t\t};\n\t\t97C147041CF9000F007C117D /* Release-prd */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 13.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSUPPORTED_PLATFORMS = iphoneos;\n\t\t\t\tSWIFT_COMPILATION_MODE = wholemodule;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = \"Release-prd\";\n\t\t};\n\t\t97C147061CF9000F007C117D /* Debug-prd */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tAPP_DISPLAY_NAME = \"Flutter Auth\";\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = \"AppIcon-prd\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;\n\t\t\t\tCODE_SIGN_IDENTITY = \"Apple Development\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tDEVELOPMENT_TEAM = A83F92587U;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 15.6;\n\t\t\t\tLAUNCH_SCREEN = LaunchScreenPrd;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.lazycatlabs.auths;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE_SPECIFIER = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = \"Debug-prd\";\n\t\t};\n\t\t97C147071CF9000F007C117D /* Release-prd */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tAPP_DISPLAY_NAME = \"Flutter Auth\";\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = \"AppIcon-prd\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;\n\t\t\t\tCODE_SIGN_IDENTITY = \"Apple Development\";\n\t\t\t\tCODE_SIGN_STYLE = Automatic;\n\t\t\t\tCURRENT_PROJECT_VERSION = \"$(FLUTTER_BUILD_NUMBER)\";\n\t\t\t\tDEVELOPMENT_TEAM = A83F92587U;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 15.6;\n\t\t\t\tLAUNCH_SCREEN = LaunchScreenPrd;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.lazycatlabs.auths;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE_SPECIFIER = \"\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = \"Release-prd\";\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t97C146E91CF9000F007C117D /* Build configuration list for PBXProject \"Runner\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t97C147031CF9000F007C117D /* Debug-prd */,\n\t\t\t\t78CA03312868A9F00042EE7F /* Debug-stg */,\n\t\t\t\t97C147041CF9000F007C117D /* Release-prd */,\n\t\t\t\t78CA03352868AA000042EE7F /* Release-stg */,\n\t\t\t\t249021D3217E4FDB00AE95B9 /* Profile-prd */,\n\t\t\t\t78CA03332868A9F90042EE7F /* Profile-stg */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = \"Release-prd\";\n\t\t};\n\t\t97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget \"Runner\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t97C147061CF9000F007C117D /* Debug-prd */,\n\t\t\t\t78CA03322868A9F00042EE7F /* Debug-stg */,\n\t\t\t\t97C147071CF9000F007C117D /* Release-prd */,\n\t\t\t\t78CA03362868AA000042EE7F /* Release-stg */,\n\t\t\t\t249021D4217E4FDB00AE95B9 /* Profile-prd */,\n\t\t\t\t78CA03342868A9F90042EE7F /* Profile-stg */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = \"Release-prd\";\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 97C146E61CF9000F007C117D /* Project object */;\n}\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>PreviewsEnabled</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/xcshareddata/xcschemes/prd.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1300\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n               BuildableName = \"Runner.app\"\n               BlueprintName = \"Runner\"\n               ReferencedContainer = \"container:Runner.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug-prd\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug-prd\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Profile-prd\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug-prd\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release-prd\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "ios/Runner.xcodeproj/xcshareddata/xcschemes/stg.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"1340\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n               BuildableName = \"Runner.app\"\n               BlueprintName = \"Runner\"\n               ReferencedContainer = \"container:Runner.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug-stg\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      customLLDBInitFile = \"$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug-stg\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      customLLDBInitFile = \"$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release-stg\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug-stg\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release-stg\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "ios/Runner.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Runner.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"group:Pods/Pods.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>PreviewsEnabled</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ios/config/prd/GoogleService-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CLIENT_ID</key>\n\t<string>933342696488-ekbqsc1q8pkvk61nj5p0f04061ivr0ug.apps.googleusercontent.com</string>\n\t<key>REVERSED_CLIENT_ID</key>\n\t<string>com.googleusercontent.apps.933342696488-ekbqsc1q8pkvk61nj5p0f04061ivr0ug</string>\n\t<key>ANDROID_CLIENT_ID</key>\n\t<string>933342696488-i2co7br6pib2js7a8vsjpio4164n0qci.apps.googleusercontent.com</string>\n\t<key>API_KEY</key>\n\t<string>AIzaSyAPG4_LhFSS94Jez8k20Mu4i7cyCn26hzc</string>\n\t<key>GCM_SENDER_ID</key>\n\t<string>933342696488</string>\n\t<key>PLIST_VERSION</key>\n\t<string>1</string>\n\t<key>BUNDLE_ID</key>\n\t<string>com.lazycatlabs.auths</string>\n\t<key>PROJECT_ID</key>\n\t<string>mobile-app-bd59b</string>\n\t<key>STORAGE_BUCKET</key>\n\t<string>mobile-app-bd59b.appspot.com</string>\n\t<key>IS_ADS_ENABLED</key>\n\t<false></false>\n\t<key>IS_ANALYTICS_ENABLED</key>\n\t<false></false>\n\t<key>IS_APPINVITE_ENABLED</key>\n\t<true></true>\n\t<key>IS_GCM_ENABLED</key>\n\t<true></true>\n\t<key>IS_SIGNIN_ENABLED</key>\n\t<true></true>\n\t<key>GOOGLE_APP_ID</key>\n\t<string>1:933342696488:ios:3ddb617c88b0363187511d</string>\n</dict>\n</plist>"
  },
  {
    "path": "ios/config/stg/GoogleService-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CLIENT_ID</key>\n\t<string>520881115656-e14k5pcrklmsih46r01nh1fm9gt4oaf0.apps.googleusercontent.com</string>\n\t<key>REVERSED_CLIENT_ID</key>\n\t<string>com.googleusercontent.apps.520881115656-e14k5pcrklmsih46r01nh1fm9gt4oaf0</string>\n\t<key>ANDROID_CLIENT_ID</key>\n\t<string>520881115656-a76c2vaojcsa2kj1qk243eclfna6j6ff.apps.googleusercontent.com</string>\n\t<key>API_KEY</key>\n\t<string>AIzaSyCgylLbnzngRGnumT5dnyfx4foQ2Qdu3dY</string>\n\t<key>GCM_SENDER_ID</key>\n\t<string>520881115656</string>\n\t<key>PLIST_VERSION</key>\n\t<string>1</string>\n\t<key>BUNDLE_ID</key>\n\t<string>com.lazycatlabs.auths.stg</string>\n\t<key>PROJECT_ID</key>\n\t<string>sample-49e7c</string>\n\t<key>STORAGE_BUCKET</key>\n\t<string>sample-49e7c.appspot.com</string>\n\t<key>IS_ADS_ENABLED</key>\n\t<false></false>\n\t<key>IS_ANALYTICS_ENABLED</key>\n\t<false></false>\n\t<key>IS_APPINVITE_ENABLED</key>\n\t<true></true>\n\t<key>IS_GCM_ENABLED</key>\n\t<true></true>\n\t<key>IS_SIGNIN_ENABLED</key>\n\t<true></true>\n\t<key>GOOGLE_APP_ID</key>\n\t<string>1:520881115656:ios:db518045ccad29fffd77bd</string>\n</dict>\n</plist>"
  },
  {
    "path": "l10n.yaml",
    "content": "arb-dir: lib/core/localization\noutput-dir: lib/core/localization/generated\ntemplate-arb-file: intl_en.arb\noutput-localization-file: strings.dart\noutput-class: Strings\n"
  },
  {
    "path": "lib/core/api/api.dart",
    "content": "export 'dio_client.dart';\nexport 'dio_interceptor.dart';\nexport 'isolate_parser.dart';\nexport 'list_api.dart';\n"
  },
  {
    "path": "lib/core/api/dio_client.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:dio/dio.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\n\ntypedef ResponseConverter<T> = T Function(dynamic response);\n\nclass DioClient with MainBoxMixin, FirebaseCrashLogger {\n  String baseUrl = const String.fromEnvironment('BASE_URL');\n\n  String? _token;\n  bool _isUnitTest = false;\n  late Dio _dio;\n\n  DioClient({bool isUnitTest = false}) {\n    _isUnitTest = isUnitTest;\n\n    try {\n      _token = token();\n    } catch (_) {}\n\n    _dio = _createDio();\n\n    if (!_isUnitTest) {\n      _dio.interceptors.add(DioInterceptor());\n    }\n  }\n\n  String token() =>\n      getData(MainBoxKeys.authToken) ?? getData(MainBoxKeys.generalToken);\n\n  Dio get dio {\n    if (_isUnitTest) {\n      /// Return static dio if is unit test\n      return _dio;\n    } else {\n      /// We need to recreate dio to avoid token issue after login\n      try {\n        _token = token();\n      } catch (_) {}\n\n      final dio = _createDio();\n\n      if (!_isUnitTest) {\n        dio.interceptors.add(DioInterceptor());\n      }\n\n      return dio;\n    }\n  }\n\n  Dio _createDio() => Dio(\n    BaseOptions(\n      baseUrl: baseUrl,\n      headers: {\n        'Content-Type': 'application/json',\n        'Accept': 'application/json',\n        if (_token != null) ...{'Authorization': _token},\n      },\n      receiveTimeout: const Duration(minutes: 1),\n      connectTimeout: const Duration(minutes: 1),\n      validateStatus: (int? status) => status! > 0,\n    ),\n  );\n\n  Future<Either<Failure, T>> getRequest<T>(\n    String url, {\n    required ResponseConverter<T> converter,\n    Map<String, dynamic>? queryParameters,\n    bool isIsolate = true,\n  }) async {\n    try {\n      final response = await dio.get(url, queryParameters: queryParameters);\n      if ((response.statusCode ?? 0) < 200 ||\n          (response.statusCode ?? 0) > 201) {\n        throw DioException(\n          requestOptions: response.requestOptions,\n          response: response,\n        );\n      }\n\n      if (!isIsolate) {\n        return Right(converter(response.data));\n      }\n      final isolateParse = IsolateParser<T>(\n        response.data as Map<String, dynamic>,\n        converter,\n      );\n      final result = await isolateParse.parseInBackground();\n      return Right(result);\n    } on DioException catch (e, stackTrace) {\n      try {\n        if (!_isUnitTest) {\n          nonFatalError(error: e, stackTrace: stackTrace);\n        }\n        return Left(\n          ServerFailure(\n            e.response?.data['diagnostic']['message'] as String? ?? e.message,\n          ),\n        );\n      } catch (e) {\n        return Left(ServerFailure(e.toString()));\n      }\n    }\n  }\n\n  Future<Either<Failure, T>> postRequest<T>(\n    String url, {\n    required ResponseConverter<T> converter,\n    Map<String, dynamic>? data,\n    bool isIsolate = true,\n  }) async {\n    try {\n      final response = await dio.post(url, data: data);\n      if ((response.statusCode ?? 0) < 200 ||\n          (response.statusCode ?? 0) > 201) {\n        throw DioException(\n          requestOptions: response.requestOptions,\n          response: response,\n        );\n      }\n\n      if (!isIsolate) {\n        return Right(converter(response.data));\n      }\n      final isolateParse = IsolateParser<T>(\n        response.data as Map<String, dynamic>,\n        converter,\n      );\n      final result = await isolateParse.parseInBackground();\n      return Right(result);\n    } on DioException catch (e, stackTrace) {\n      try {\n        if (!_isUnitTest) {\n          nonFatalError(error: e, stackTrace: stackTrace);\n        }\n        return Left(\n          ServerFailure(\n            e.response?.data['diagnostic']['message'] as String? ?? e.message,\n          ),\n        );\n      } catch (e) {\n        return Left(ServerFailure(e.toString()));\n      }\n    }\n  }\n}\n"
  },
  {
    "path": "lib/core/api/dio_interceptor.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dio/dio.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/auth/auth.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\n\n// coverage:ignore-start\nclass DioInterceptor extends Interceptor\n    with FirebaseCrashLogger, MainBoxMixin {\n  @override\n  void onRequest(RequestOptions options, RequestInterceptorHandler handler) {\n    String headerMessage = '';\n    options.headers.forEach((k, v) => headerMessage += '► $k: $v\\n');\n\n    try {\n      options.queryParameters.forEach((k, v) => debugPrint('► $k: $v'));\n    } catch (_) {}\n    try {\n      const JsonEncoder encoder = JsonEncoder.withIndent('  ');\n      final String prettyJson = encoder.convert(options.data);\n      log.d(\n        // ignore: unnecessary_null_comparison\n        \"REQUEST ► ︎ ${options.method != null ? options.method.toUpperCase() : 'METHOD'} ${\"${options.baseUrl}${options.path}\"}\\n\\n\"\n        'Headers:\\n'\n        '$headerMessage\\n'\n        '❖ QueryParameters : \\n'\n        'Body: $prettyJson',\n      );\n    } catch (e, stackTrace) {\n      log.e('Failed to extract json request $e');\n      nonFatalError(error: e, stackTrace: stackTrace);\n    }\n\n    super.onRequest(options, handler);\n  }\n\n  @override\n  Future<void> onError(\n    DioException dioException,\n    ErrorInterceptorHandler handler,\n  ) async {\n    log.e(\n      \"<-- ${dioException.message} ${dioException.response?.requestOptions != null ? (dioException.response!.requestOptions.baseUrl + dioException.response!.requestOptions.path) : 'URL'}\\n\\n\"\n      \"${dioException.response != null ? dioException.response!.data : 'Unknown Error'}\",\n    );\n\n    nonFatalError(error: dioException, stackTrace: dioException.stackTrace);\n    if (dioException.response?.statusCode == 401 &&\n        dioException.response?.data['meta']['description'] ==\n            'Unauthenticated.') {\n      if (getData(MainBoxKeys.refreshToken) != null) {\n        await refreshToken();\n\n        // Retry the request with the new token\n        return handler.resolve(await _retry(dioException.requestOptions));\n      } else {\n        logoutBox();\n      }\n    }\n    return handler.next(dioException);\n  }\n\n  Future<Response<dynamic>> _retry(RequestOptions requestOptions) {\n    final options = Options(\n      method: requestOptions.method,\n      headers: requestOptions.headers,\n    );\n\n    return DioClient().dio.request<dynamic>(\n      requestOptions.path,\n      data: requestOptions.data,\n      queryParameters: requestOptions.queryParameters,\n      options: options,\n    );\n  }\n\n  Future<void> refreshToken() async {\n    /// Call API Refresh token\n    final response = await DioClient().postRequest(\n      ListAPI.generalToken,\n      data: {\n        'clientId': const String.fromEnvironment('USER_CLIENT_ID'),\n        'clientSecret': const String.fromEnvironment('USER_CLIENT_SECRET'),\n        'grantType': 'refresh_token',\n        'refreshToken': getData(MainBoxKeys.refreshToken),\n      },\n      converter: (response) =>\n          LoginResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    response.fold((l) => logoutBox(), (r) {\n      final data = r.data;\n      addData(\n        MainBoxKeys.refreshToken,\n        '${data?.tokenType} ${data?.refreshToken}',\n      );\n      addData(MainBoxKeys.authToken, '${data?.tokenType} ${data?.token}');\n    });\n  }\n\n  @override\n  void onResponse(Response response, ResponseInterceptorHandler handler) {\n    String headerMessage = '';\n    response.headers.forEach((k, v) => headerMessage += '► $k: $v\\n');\n\n    const JsonEncoder encoder = JsonEncoder.withIndent('  ');\n    final String prettyJson = encoder.convert(response.data);\n    log.d(\n      // ignore: unnecessary_null_comparison\n      \"◀ ︎RESPONSE ${response.statusCode} ${response.requestOptions != null ? (response.requestOptions.baseUrl + response.requestOptions.path) : 'URL'}\\n\\n\"\n      'Headers:\\n'\n      '$headerMessage\\n'\n      '❖ Results : \\n'\n      'Response: $prettyJson',\n    );\n    super.onResponse(response, handler);\n  }\n}\n\n// coverage:ignore-end\n"
  },
  {
    "path": "lib/core/api/isolate_parser.dart",
    "content": "import 'dart:isolate';\n\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass IsolateParser<T> {\n  final Map<String, dynamic> json;\n\n  ResponseConverter<T> converter;\n\n  IsolateParser(this.json, this.converter);\n\n  Future<T> parseInBackground() async {\n    final port = ReceivePort();\n    await Isolate.spawn(_parseListOfJson, port.sendPort);\n\n    final result = await port.first;\n    return result as T;\n  }\n\n  void _parseListOfJson(SendPort sendPort) {\n    final result = converter(json);\n    Isolate.exit(sendPort, result);\n  }\n}\n"
  },
  {
    "path": "lib/core/api/list_api.dart",
    "content": "class ListAPI {\n  ListAPI._(); // coverage:ignore-line\n\n  /// Auth\n  static const String generalToken = '/v1/api/auth/general';\n  static const String refreshToken = '/v1/api/auth/refresh';\n  static const String user = '/v1/api/user';\n  static const String login = '/v1/api/auth/login';\n  static const String logout = '/v1/api/auth/logout';\n\n  /// User\n  static const String users = '/v1/api/user/all';\n}\n"
  },
  {
    "path": "lib/core/app_route.dart",
    "content": "import 'package:flutter/foundation.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:go_router/go_router.dart';\n\nenum Routes {\n  root('/'),\n  splashScreen('/splashscreen'),\n\n  /// Home Page\n  dashboard('/dashboard'),\n  settings('/settings'),\n\n  // Auth Page\n  login('/auth/login'),\n  register('/auth/register');\n\n  const Routes(this.path);\n\n  final String path;\n}\n\nclass AppRoute {\n  static late BuildContext context;\n  static late bool isUnitTest;\n\n  AppRoute.setStream(BuildContext ctx, {bool isTest = false}) {\n    context = ctx;\n    isUnitTest = isTest;\n  }\n\n  static final GoRouter router = GoRouter(\n    routes: [\n      GoRoute(\n        path: Routes.splashScreen.path,\n        name: Routes.splashScreen.name,\n        builder: (_, _) => BlocProvider(\n          create: (_) => sl<GeneralTokenCubit>()\n            ..generalToken(\n              const GeneralTokenParams(\n                clientId: String.fromEnvironment('CLIENT_ID'),\n                clientSecret: String.fromEnvironment('CLIENT_SECRET'),\n              ),\n            ),\n          child: SplashScreenPage(),\n        ),\n      ),\n      GoRoute(\n        path: Routes.root.path,\n        name: Routes.root.name,\n        redirect: (_, _) => Routes.dashboard.path,\n      ),\n      GoRoute(\n        path: Routes.login.path,\n        name: Routes.login.name,\n        builder: (_, _) => BlocProvider(\n          create: (_) => sl<ReloadFormCubit>(),\n          child: const LoginPage(),\n        ),\n      ),\n      GoRoute(\n        path: Routes.register.path,\n        name: Routes.register.name,\n        builder: (_, _) => MultiBlocProvider(\n          providers: [\n            BlocProvider(create: (_) => sl<RegisterCubit>()),\n            BlocProvider(create: (_) => sl<ReloadFormCubit>()),\n          ],\n          child: const RegisterPage(),\n        ),\n      ),\n      ShellRoute(\n        builder: (_, _, child) => BlocProvider(\n          create: (context) => sl<MainCubit>(),\n          child: MainPage(child: child),\n        ),\n        routes: [\n          GoRoute(\n            path: Routes.dashboard.path,\n            name: Routes.dashboard.name,\n            builder: (_, _) => BlocProvider(\n              create: (_) => sl<UsersCubit>()..fetchUsers(const UsersParams()),\n              child: const DashboardPage(),\n            ),\n          ),\n          GoRoute(\n            path: Routes.settings.path,\n            name: Routes.settings.name,\n            builder: (_, _) => const SettingsPage(),\n          ),\n        ],\n      ),\n    ],\n    initialLocation: Routes.splashScreen.path,\n    routerNeglect: true,\n    debugLogDiagnostics: kDebugMode,\n    refreshListenable: isUnitTest\n        ? null\n        //coverage:ignore-start\n        : GoRouterRefreshStream([\n            context.read<AuthCubit>().stream,\n            context.read<LogoutCubit>().stream,\n          ]),\n    //coverage:ignore-end\n    redirect: (_, GoRouterState state) {\n      final bool isAllowedPages =\n          state.matchedLocation == Routes.login.path ||\n          state.matchedLocation == Routes.register.path ||\n          state.matchedLocation == Routes.splashScreen.path;\n\n      ///  Check if not login\n      ///  if current page is login page we don't need to direct user\n      ///  but if not we must direct user to login page\n      if (!((MainBoxMixin.mainBox?.get(MainBoxKeys.isLogin.name) as bool?) ??\n          false)) {\n        return isAllowedPages ? null : Routes.login.path; //coverage:ignore-line\n      }\n\n      /// Check if already login and in login page\n      /// we should direct user to main page\n\n      if (isAllowedPages &&\n          ((MainBoxMixin.mainBox?.get(MainBoxKeys.isLogin.name) as bool?) ??\n              false)) {\n        return Routes.root.path;\n      }\n\n      /// No direct\n      return null;\n    },\n  );\n}\n"
  },
  {
    "path": "lib/core/core.dart",
    "content": "export 'api/api.dart';\nexport 'app_route.dart';\nexport 'error/error.dart';\nexport 'localization/localization.dart';\nexport 'resources/resources.dart';\nexport 'usecase/usecase.dart';\nexport 'widgets/widgets.dart';\n"
  },
  {
    "path": "lib/core/error/error.dart",
    "content": "export 'exceptions.dart';\nexport 'failure.dart';\n"
  },
  {
    "path": "lib/core/error/exceptions.dart",
    "content": "class ServerException implements Exception {\n  String? message;\n\n  ServerException(this.message);\n}\n\nclass CacheException implements Exception {}\n"
  },
  {
    "path": "lib/core/error/failure.dart",
    "content": "abstract class Failure {\n  /// ignore: avoid_unused_constructor_parameters\n  const Failure([List properties = const <dynamic>[]]);\n}\n\nclass ServerFailure extends Failure {\n  final String? message;\n\n  const ServerFailure(this.message);\n\n  @override\n  bool operator ==(Object other) =>\n      other is ServerFailure && other.message == message;\n\n  @override\n  int get hashCode => message.hashCode;\n}\n\nclass NoDataFailure extends Failure {\n  @override\n  bool operator ==(Object other) => other is NoDataFailure;\n\n  @override\n  int get hashCode => 0;\n}\n\nclass CacheFailure extends Failure {\n  @override\n  bool operator ==(Object other) => other is CacheFailure;\n\n  @override\n  int get hashCode => 0;\n}\n"
  },
  {
    "path": "lib/core/localization/intl_en.arb",
    "content": "{\n  \"dashboard\": \"Dashboard\",\n  \"about\": \"About\",\n  \"selectDate\": \"Choose Date\",\n  \"selectTime\": \"Choose Time\",\n  \"select\": \"Select\",\n  \"cancel\": \"Cancel\",\n  \"pleaseWait\": \"Please Wait...\",\n  \"login\": \"Login\",\n  \"email\": \"Email\",\n  \"password\": \"Password\",\n  \"register\": \"Register\",\n  \"askRegister\": \"Don't have an Account?\",\n  \"errorInvalidEmail\": \"Email is not valid\",\n  \"errorEmptyField\": \"Can't be empty\",\n  \"errorPasswordLength\": \"Password must be at least 6 characters\",\n  \"passwordRepeat\": \"Repeat Password\",\n  \"errorPasswordNotMatch\": \"Password doesn't match\",\n  \"settings\": \"Settings\",\n  \"themeLight\": \"Theme Light\",\n  \"themeDark\": \"Theme Dark\",\n  \"themeSystem\": \"Theme System\",\n  \"chooseTheme\": \"Choose Theme\",\n  \"chooseLanguage\": \"Choose Language\",\n  \"errorNoData\": \"No data\",\n  \"logout\": \"Logout\",\n  \"logoutDesc\": \"Do you want to logout from the app?\",\n  \"yes\": \"Yes\",\n  \"lastUpdate\": \"Last Update: \",\n  \"name\": \"Name\"\n}"
  },
  {
    "path": "lib/core/localization/intl_id.arb",
    "content": "{\n  \"dashboard\": \"Beranda\",\n  \"about\": \"Tentang\",\n  \"selectDate\": \"Pilih Tanggal\",\n  \"selectTime\": \"Pilih Waktu\",\n  \"select\": \"Pilih\",\n  \"cancel\": \"Batal\",\n  \"pleaseWait\": \"Harap tunggu...\",\n  \"login\": \"Masuk\",\n  \"email\": \"Email\",\n  \"password\": \"Kata Sandi\",\n  \"register\": \"Daftar\",\n  \"askRegister\": \"Belum punya akun?\",\n  \"errorInvalidEmail\": \"Email tidak valid\",\n  \"errorEmptyField\": \"Tidak boleh kosong\",\n  \"errorPasswordLength\": \"Kata Sandi minimal 6 karakter\",\n  \"passwordRepeat\": \"Ulangi Kata Sandi\",\n  \"errorPasswordNotMatch\": \"Kata Sandi tidak sama\",\n  \"settings\": \"Pengaturan\",\n  \"themeLight\": \"Tema Terang\",\n  \"themeDark\": \"Tema Gelap\",\n  \"themeSystem\": \"Tema Sistem\",\n  \"chooseTheme\": \"Pilih tema\",\n  \"chooseLanguage\": \"Pilih bahasa\",\n  \"errorNoData\": \"Data Kosong\",\n  \"logout\": \"Keluar\",\n  \"logoutDesc\": \"Apakah anda ingin keluar dari aplikasi?\",\n  \"yes\": \"Ya\",\n  \"lastUpdate\": \"Terakhir diperbarui: \",\n  \"name\": \"Nama\"\n}\n"
  },
  {
    "path": "lib/core/localization/l10n.dart",
    "content": "import 'package:flutter/material.dart';\n\nclass L10n {\n  L10n._(); //coverage:ignore-line\n\n  static final all = [\n    const Locale('en'),\n    const Locale('id'),\n  ];\n\n  static String getFlag(String code) {\n    switch (code) {\n      case 'id':\n        return 'Bahasa';\n      case 'en':\n      default:\n        return 'English';\n    }\n  }\n}\n"
  },
  {
    "path": "lib/core/localization/localization.dart",
    "content": "export 'generated/strings.dart';\nexport 'l10n.dart';\n"
  },
  {
    "path": "lib/core/resources/dimens.dart",
    "content": "import 'package:flutter_screenutil/flutter_screenutil.dart';\n\nclass Dimens {\n  Dimens._();\n\n  static double displayLarge = 96.sp;\n  static double displayMedium = 60.sp;\n  static double displaySmall = 48.sp;\n  static double headlineMedium = 34.sp;\n  static double headlineSmall = 24.sp;\n  static double titleLarge = 20.sp;\n  static double bodyLarge = 16.sp;\n  static double bodyMedium = 14.sp;\n  static double titleMedium = 18.sp;\n  static double titleSmall = 14.sp;\n  static double labelLarge = 16.sp;\n  static double bodySmall = 12.sp;\n  static double labelSmall = 10.sp;\n\n  static double zero = 0;\n  static double space2 = 2.w;\n  static double space3 = 3.w;\n  static double space4 = 4.w;\n  static double space5 = 5.w;\n  static double space6 = 6.w;\n  static double space8 = 8.w;\n  static double space12 = 12.w;\n  static double space16 = 16.w;\n  static double space24 = 24.w;\n  static double space30 = 30.w;\n  static double space36 = 36.w;\n  static double space40 = 40.w;\n  static double space46 = 46.w;\n  static double space50 = 50.w;\n\n  static double selectedIndicatorW = 43.w;\n  static double selectedIndicatorSmallW = 28.w;\n  static double heightAppbarHome = 65.w;\n  static double tab = 38.w;\n  static double menu = 72.w;\n  static double menuContainer = 250.w;\n  static double carousel = 167.w;\n  static double newsHeight = 185.w;\n  static double textField = 50.w;\n\n  static double header = 200.w;\n  static double minLabel = 116.w;\n  static double bottomBar = 80.w;\n  static double profilePicture = 86.w;\n  static double birthdayCalendar = 120.w;\n\n  static double buttonH = 40.w;\n  static double imageW = 110.w;\n\n  static const double cornerRadius = 15;\n  static const double cornerRadiusBottomSheet = 30;\n}\n"
  },
  {
    "path": "lib/core/resources/images.dart",
    "content": "class Images {\n  Images._();\n\n  static String icLauncher =\n      const String.fromEnvironment('ENV', defaultValue: 'staging') == 'staging'\n          ? 'assets/images/ic_launcher_stg.png'\n          : 'assets/images/ic_launcher.png';\n\n  static String icLauncherDark =\n      const String.fromEnvironment('ENV', defaultValue: 'staging') == 'staging'\n          ? 'assets/images/ic_launcher_stg_dark.png'\n          : 'assets/images/ic_launcher_dark.png';\n\n  static String icLogo =\n      const String.fromEnvironment('ENV', defaultValue: 'staging') == 'staging'\n          ? 'assets/images/ic_logo_stg.png'\n          : 'assets/images/ic_logo.png';\n}\n"
  },
  {
    "path": "lib/core/resources/palette.dart",
    "content": "import 'package:flutter/material.dart';\n\n// 100% — FF  ##  50% — 80\n// 99% — FC   ## 49% — 7D\n// 98% — FA   ## 48% — 7A\n// 97% — F7   ## 47% — 78\n// 96% — F5   ## 46% — 75\n// 95% — F2   ## 45% — 73\n// 94% — F0   ## 44% — 70\n// 93% — ED   ## 43% — 6E\n// 92% — EB   ## 42% — 6B\n// 91% — E8   ## 41% — 69\n// 90% — E6   ## 40% — 66\n// 89% — E3   ## 39% — 63\n// 88% — E0   ## 38% — 61\n// 87% — DE   ## 37% — 5E\n// 86% — DB   ## 36% — 5C\n// 85% — D9   ## 35% — 59\n// 84% — D6   ## 34% — 57\n// 83% — D4   ## 33% — 54\n// 82% — D1   ## 32% — 52\n// 81% — CF   ## 31% — 4F\n// 80% — CC   ## 30% — 4D\n// 79% — C9   ## 29% — 4A\n// 78% — C7   ## 28% — 47\n// 77% — C4   ## 27% — 45\n// 76% — C2   ## 26% — 42\n// 75% — BF   ## 25% — 40\n// 74% — BD   ## 24% — 3D\n// 73% — BA   ## 23% — 3B\n// 72% — B8   ## 22% — 38\n// 71% — B5   ## 21% — 36\n// 70% — B3   ## 20% — 33\n// 69% — B0   ## 19% — 30\n// 68% — AD   ## 18% — 2E\n// 67% — AB   ## 17% — 2B\n// 66% — A8   ## 16% — 29\n// 65% — A6   ## 15% — 26\n// 64% — A3   ## 14% — 24\n// 63% — A1   ## 13% — 21\n// 62% — 9E   ## 12% — 1F\n// 61% — 9C   ## 11% — 1C\n// 60% — 99   ## 10% — 1A\n// 59% — 96   ## 9% — 17\n// 58% — 94   ## 8% — 14\n// 57% — 91   ## 7% — 12\n// 56% — 8F   ## 6% — 0F\n// 55% — 8C   ## 5% — 0D\n// 54% — 8A   ## 4% — 0A\n// 53% — 87   ## 3% — 08\n// 52% — 85   ## 2% — 05\n// 51% — 82   ## 1% — 03\n\nclass Palette {\n  Palette._();\n\n  static const Color primary = Color(0xffFF7043);\n  static const Color secondary = Color(0xff00838F);\n\n  static const Color background = Color(0xffffffff);\n  static const Color backgroundDark = Color(0xff000000);\n  static const Color icon = Color(0xff000000);\n  static const Color iconDark = Color(0xffffffff);\n  static const Color card = backgroundDark;\n  static const Color cardDark = background;\n  static const Color text = Color(0xff000000);\n  static const Color textDark = Color(0xffffffff);\n  static const Color subText = Color(0xff757575);\n  static const Color subTextDark = Color(0xffB0BEC5);\n  static const Color shadow = Color(0xff8c8fa1);\n  static const Color shadowDark = Color(0xff7f849c);\n  static const Color banner = background;\n  static const Color bannerDark = backgroundDark;\n\n  static const Color redMocha = Color(0xfff38ba8);\n  static const Color greenMocha = Color(0xffa6e3a1);\n  static const Color roseWaterMocha = Color(0xfff5e0dc);\n  static const Color flamingoMocha = Color(0xfff2cdcd);\n  static const Color pinkMocha = Color(0xfff5c2e7);\n  static const Color mauveMocha = Color(0xffcba6f7);\n  static const Color maroonMocha = Color(0xffeba0ac);\n  static const Color peachMocha = Color(0xfffab387);\n  static const Color yellowMocha = Color(0xfff9e2af);\n  static const Color tealMocha = Color(0xff94e2d5);\n  static const Color sapphireMocha = Color(0xff89dceb);\n  static const Color skyMocha = Color(0xff89dceb);\n  static const Color blueMocha = Color(0xff89b4fa);\n  static const Color lavenderMocha = Color(0xffb4befe);\n\n  static const Color redLatte = Color(0xffd20f39);\n  static const Color greenLatte = Color(0xff40a02b);\n  static const Color roseWaterLatte = Color(0xffdc8a78);\n  static const Color flamingoLatte = Color(0xffdd7878);\n  static const Color pinkLatte = Color(0xffea76cb);\n  static const Color mauveLatte = Color(0xff8839ef);\n  static const Color maroonLatte = Color(0xffe64553);\n  static const Color peachLatte = Color(0xfffe640b);\n  static const Color yellowLatte = Color(0xffdf8e1d);\n  static const Color tealLatte = Color(0xff179299);\n  static const Color sapphireLatte = Color(0xff209fb5);\n  static const Color skyLatte = Color(0xff04a5e5);\n  static const Color blueLatte = Color(0xff1e66f5);\n  static const Color lavenderLatte = Color(0xff7287fd);\n}\n"
  },
  {
    "path": "lib/core/resources/resources.dart",
    "content": "export 'dimens.dart';\nexport 'images.dart';\nexport 'palette.dart';\nexport 'styles.dart';\n"
  },
  {
    "path": "lib/core/resources/styles.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\n/// Light theme\nThemeData themeLight(BuildContext context) => ThemeData(\n      fontFamily: 'Poppins',\n      useMaterial3: true,\n      primaryColor: Palette.primary,\n      disabledColor: Palette.shadowDark,\n      hintColor: Palette.subText,\n      cardColor: Palette.background,\n      scaffoldBackgroundColor: Palette.background,\n      colorScheme: const ColorScheme.light().copyWith(\n        primary: Palette.primary,\n        surface: Palette.background,\n      ),\n      textTheme: TextTheme(\n        displayLarge: Theme.of(context).textTheme.displayLarge?.copyWith(\n              fontSize: Dimens.displayLarge,\n              color: Palette.text,\n            ),\n        displayMedium: Theme.of(context).textTheme.displayMedium?.copyWith(\n              fontSize: Dimens.displayMedium,\n              color: Palette.text,\n            ),\n        displaySmall: Theme.of(context).textTheme.displaySmall?.copyWith(\n              fontSize: Dimens.displaySmall,\n              color: Palette.text,\n            ),\n        headlineMedium: Theme.of(context).textTheme.headlineMedium?.copyWith(\n              fontSize: Dimens.headlineMedium,\n              color: Palette.text,\n            ),\n        headlineSmall: Theme.of(context).textTheme.headlineSmall?.copyWith(\n              fontSize: Dimens.headlineSmall,\n              color: Palette.text,\n            ),\n        titleLarge: Theme.of(context).textTheme.titleLarge?.copyWith(\n              fontSize: Dimens.titleLarge,\n              color: Palette.text,\n            ),\n        titleMedium: Theme.of(context).textTheme.titleMedium?.copyWith(\n              fontSize: Dimens.titleMedium,\n              color: Palette.text,\n            ),\n        titleSmall: Theme.of(context).textTheme.titleSmall?.copyWith(\n              fontSize: Dimens.titleSmall,\n              color: Palette.text,\n            ),\n        bodyLarge: Theme.of(context).textTheme.bodyLarge?.copyWith(\n              fontSize: Dimens.bodyLarge,\n              color: Palette.text,\n            ),\n        bodyMedium: Theme.of(context).textTheme.bodyMedium?.copyWith(\n              fontSize: Dimens.bodyMedium,\n              color: Palette.text,\n            ),\n        bodySmall: Theme.of(context).textTheme.bodySmall?.copyWith(\n              fontSize: Dimens.bodySmall,\n              color: Palette.text,\n            ),\n        labelLarge: Theme.of(context).textTheme.labelLarge?.copyWith(\n              fontSize: Dimens.labelLarge,\n              color: Palette.text,\n            ),\n        labelSmall: Theme.of(context).textTheme.labelSmall?.copyWith(\n              fontSize: Dimens.labelSmall,\n              letterSpacing: 0.25,\n              color: Palette.text,\n            ),\n      ),\n      appBarTheme: const AppBarTheme().copyWith(\n        titleTextStyle: Theme.of(context).textTheme.bodyLarge,\n        color: Palette.background,\n        iconTheme: const IconThemeData(color: Palette.icon),\n        systemOverlayStyle: SystemUiOverlayStyle.dark\n            .copyWith(statusBarColor: Colors.transparent),\n        surfaceTintColor: Palette.background,\n        shadowColor: Palette.shadow,\n      ),\n      drawerTheme: const DrawerThemeData().copyWith(\n        elevation: Dimens.zero,\n        surfaceTintColor: Palette.background,\n        backgroundColor: Palette.background,\n      ),\n      bottomSheetTheme: const BottomSheetThemeData().copyWith(\n        backgroundColor: Palette.background,\n        surfaceTintColor: Colors.transparent,\n        elevation: Dimens.zero,\n      ),\n      dialogTheme: const DialogThemeData().copyWith(\n        backgroundColor: Palette.background,\n        surfaceTintColor: Colors.transparent,\n        elevation: Dimens.zero,\n      ),\n      brightness: Brightness.light,\n      iconTheme: const IconThemeData(color: Palette.icon),\n      visualDensity: VisualDensity.adaptivePlatformDensity,\n      extensions: const <ThemeExtension<dynamic>>[\n        LzyctColors(\n          background: Palette.background,\n          banner: Palette.bannerDark,\n          card: Palette.card,\n          buttonText: Palette.text,\n          subtitle: Palette.textDark,\n          shadow: Palette.shadowDark,\n          green: Palette.greenLatte,\n          roseWater: Palette.roseWaterLatte,\n          flamingo: Palette.flamingoLatte,\n          pink: Palette.pinkLatte,\n          mauve: Palette.mauveLatte,\n          maroon: Palette.maroonLatte,\n          peach: Palette.peachLatte,\n          yellow: Palette.yellowLatte,\n          teal: Palette.tealLatte,\n          sapphire: Palette.sapphireLatte,\n          sky: Palette.skyLatte,\n          blue: Palette.blueLatte,\n          lavender: Palette.lavenderLatte,\n          red: Palette.redLatte,\n        ),\n      ],\n    );\n\n/// Dark theme\nThemeData themeDark(BuildContext context) => ThemeData(\n      fontFamily: 'Poppins',\n      useMaterial3: true,\n      primaryColor: Palette.primary,\n      disabledColor: Palette.shadowDark,\n      hintColor: Palette.subTextDark,\n      cardColor: Palette.backgroundDark,\n      scaffoldBackgroundColor: Palette.backgroundDark,\n      colorScheme: const ColorScheme.dark().copyWith(primary: Palette.primary),\n      textTheme: TextTheme(\n        displayLarge: Theme.of(context)\n            .textTheme\n            .displayLarge\n            ?.copyWith(fontSize: Dimens.displayLarge, color: Palette.textDark),\n        displayMedium: Theme.of(context)\n            .textTheme\n            .displayMedium\n            ?.copyWith(fontSize: Dimens.displayMedium, color: Palette.textDark),\n        displaySmall: Theme.of(context)\n            .textTheme\n            .displaySmall\n            ?.copyWith(fontSize: Dimens.displaySmall, color: Palette.textDark),\n        headlineMedium: Theme.of(context).textTheme.headlineMedium?.copyWith(\n              fontSize: Dimens.headlineMedium,\n              color: Palette.textDark,\n            ),\n        headlineSmall: Theme.of(context)\n            .textTheme\n            .headlineSmall\n            ?.copyWith(fontSize: Dimens.headlineSmall, color: Palette.textDark),\n        titleLarge: Theme.of(context)\n            .textTheme\n            .titleLarge\n            ?.copyWith(fontSize: Dimens.titleLarge, color: Palette.textDark),\n        titleMedium: Theme.of(context)\n            .textTheme\n            .titleMedium\n            ?.copyWith(fontSize: Dimens.titleMedium, color: Palette.textDark),\n        titleSmall: Theme.of(context)\n            .textTheme\n            .titleSmall\n            ?.copyWith(fontSize: Dimens.titleSmall, color: Palette.textDark),\n        bodyLarge: Theme.of(context)\n            .textTheme\n            .bodyLarge\n            ?.copyWith(fontSize: Dimens.bodyLarge, color: Palette.textDark),\n        bodyMedium: Theme.of(context)\n            .textTheme\n            .bodyMedium\n            ?.copyWith(fontSize: Dimens.bodyMedium, color: Palette.textDark),\n        bodySmall: Theme.of(context)\n            .textTheme\n            .bodySmall\n            ?.copyWith(fontSize: Dimens.bodySmall, color: Palette.textDark),\n        labelLarge: Theme.of(context)\n            .textTheme\n            .labelLarge\n            ?.copyWith(fontSize: Dimens.labelLarge, color: Palette.textDark),\n        labelSmall: Theme.of(context).textTheme.labelSmall?.copyWith(\n              fontSize: Dimens.labelSmall,\n              letterSpacing: 0.25,\n              color: Palette.textDark,\n            ),\n      ),\n      appBarTheme: const AppBarTheme().copyWith(\n        titleTextStyle: Theme.of(context).textTheme.bodyLarge,\n        iconTheme: const IconThemeData(color: Palette.iconDark),\n        color: Palette.backgroundDark,\n        systemOverlayStyle: SystemUiOverlayStyle.light.copyWith(\n          statusBarColor: Colors.transparent,\n        ),\n        surfaceTintColor: Palette.backgroundDark,\n        shadowColor: Palette.shadowDark,\n      ),\n      drawerTheme: const DrawerThemeData().copyWith(\n        elevation: Dimens.zero,\n        surfaceTintColor: Palette.backgroundDark,\n        backgroundColor: Palette.backgroundDark,\n        shadowColor: Palette.shadowDark,\n      ),\n      bottomSheetTheme: const BottomSheetThemeData().copyWith(\n        backgroundColor: Palette.backgroundDark,\n        surfaceTintColor: Colors.transparent,\n        elevation: Dimens.zero,\n      ),\n      dialogTheme: const DialogThemeData().copyWith(\n        backgroundColor: Palette.backgroundDark,\n        surfaceTintColor: Colors.transparent,\n        elevation: Dimens.zero,\n      ),\n      brightness: Brightness.dark,\n      iconTheme: const IconThemeData(color: Palette.iconDark),\n      visualDensity: VisualDensity.adaptivePlatformDensity,\n      extensions: const <ThemeExtension<dynamic>>[\n        LzyctColors(\n          background: Palette.backgroundDark,\n          banner: Palette.background,\n          buttonText: Palette.textDark,\n          card: Palette.cardDark,\n          subtitle: Palette.text,\n          shadow: Palette.shadowDark,\n          green: Palette.greenMocha,\n          roseWater: Palette.roseWaterMocha,\n          flamingo: Palette.flamingoMocha,\n          pink: Palette.pinkMocha,\n          mauve: Palette.mauveMocha,\n          maroon: Palette.maroonMocha,\n          peach: Palette.peachMocha,\n          yellow: Palette.yellowMocha,\n          teal: Palette.tealMocha,\n          sapphire: Palette.sapphireMocha,\n          sky: Palette.skyMocha,\n          blue: Palette.blueMocha,\n          lavender: Palette.lavenderMocha,\n          red: Palette.redMocha,\n        ),\n      ],\n    );\n\nclass LzyctColors extends ThemeExtension<LzyctColors> {\n  final Color? background;\n  final Color? banner;\n  final Color? card;\n  final Color? buttonText;\n  final Color? subtitle;\n  final Color? shadow;\n  final Color? green;\n  final Color? roseWater;\n  final Color? flamingo;\n  final Color? pink;\n  final Color? mauve;\n  final Color? maroon;\n  final Color? peach;\n  final Color? yellow;\n  final Color? teal;\n  final Color? sky;\n  final Color? sapphire;\n  final Color? blue;\n  final Color? lavender;\n  final Color? red;\n\n  const LzyctColors({\n    this.background,\n    this.banner,\n    this.card,\n    this.buttonText,\n    this.subtitle,\n    this.shadow,\n    this.green,\n    this.roseWater,\n    this.flamingo,\n    this.pink,\n    this.mauve,\n    this.maroon,\n    this.peach,\n    this.yellow,\n    this.teal,\n    this.sapphire,\n    this.sky,\n    this.blue,\n    this.lavender,\n    this.red,\n  });\n\n  @override\n  ThemeExtension<LzyctColors> copyWith({\n    Color? background,\n    Color? banner,\n    Color? card,\n    Color? buttonText,\n    Color? subtitle,\n    Color? shadow,\n    Color? green,\n    Color? roseWater,\n    Color? flamingo,\n    Color? pink,\n    Color? mauve,\n    Color? maroon,\n    Color? peach,\n    Color? yellow,\n    Color? teal,\n    Color? sky,\n    Color? sapphire,\n    Color? blue,\n    Color? lavender,\n    Color? red,\n  }) => LzyctColors(\n      background: background ?? this.background,\n      banner: banner ?? this.banner,\n      card: card ?? this.card,\n      buttonText: buttonText ?? this.buttonText,\n      subtitle: subtitle ?? this.subtitle,\n      shadow: shadow ?? this.shadow,\n      green: green ?? this.green,\n      roseWater: roseWater ?? this.roseWater,\n      flamingo: flamingo ?? this.flamingo,\n      pink: pink ?? this.pink,\n      mauve: mauve ?? this.mauve,\n      maroon: maroon ?? this.maroon,\n      peach: peach ?? this.peach,\n      yellow: yellow ?? this.yellow,\n      teal: teal ?? this.teal,\n      sky: sky ?? this.sky,\n      sapphire: sapphire ?? this.sapphire,\n      blue: blue ?? this.blue,\n      lavender: lavender ?? this.lavender,\n      red: red ?? this.red,\n    );\n\n  @override\n  ThemeExtension<LzyctColors> lerp(\n    covariant ThemeExtension<LzyctColors>? other,\n    double t,\n  ) {\n    if (other is! LzyctColors) {\n      return this;\n    }\n    return LzyctColors(\n      banner: Color.lerp(banner, other.banner, t),\n      background: Color.lerp(background, other.background, t),\n      card: Color.lerp(card, other.card, t),\n      buttonText: Color.lerp(buttonText, other.buttonText, t),\n      subtitle: Color.lerp(subtitle, other.subtitle, t),\n      shadow: Color.lerp(shadow, other.shadow, t),\n      green: Color.lerp(green, other.green, t),\n      roseWater: Color.lerp(roseWater, other.roseWater, t),\n      flamingo: Color.lerp(flamingo, other.flamingo, t),\n      pink: Color.lerp(pink, other.pink, t),\n      mauve: Color.lerp(mauve, other.mauve, t),\n      maroon: Color.lerp(maroon, other.maroon, t),\n      peach: Color.lerp(peach, other.peach, t),\n      yellow: Color.lerp(yellow, other.yellow, t),\n      teal: Color.lerp(teal, other.teal, t),\n      sapphire: Color.lerp(sapphire, other.sapphire, t),\n      blue: Color.lerp(blue, other.blue, t),\n      lavender: Color.lerp(lavender, other.lavender, t),\n      sky: Color.lerp(sky, other.sky, t),\n      red: Color.lerp(red, other.red, t),\n    );\n  }\n}\n\nclass BoxDecorations {\n  BoxDecorations(this.context);\n\n  final BuildContext context;\n\n  BoxDecoration get button => BoxDecoration(\n        color: Palette.primary,\n        borderRadius:\n            const BorderRadius.all(Radius.circular(Dimens.cornerRadius)),\n        boxShadow: [BoxShadows(context).button],\n      );\n\n  BoxDecoration get card => BoxDecoration(\n        color: Theme.of(context).cardColor,\n        borderRadius:\n            const BorderRadius.all(Radius.circular(Dimens.cornerRadius)),\n        boxShadow: [BoxShadows(context).card],\n      );\n}\n\nclass BoxShadows {\n  BoxShadows(this.context);\n\n  final BuildContext context;\n\n  BoxShadow get button => BoxShadow(\n        color: Theme.of(context)\n            .extension<LzyctColors>()!\n            .shadow!\n            .withValues(alpha: 0.5),\n        blurRadius: 16.0,\n        spreadRadius: 1.0,\n      );\n\n  BoxShadow get card => BoxShadow(\n        color: Theme.of(context)\n            .extension<LzyctColors>()!\n            .shadow!\n            .withValues(alpha: 0.5),\n        blurRadius: 5.0,\n        spreadRadius: 0.5,\n      );\n\n  BoxShadow get dialog => BoxShadow(\n        color: Theme.of(context).extension<LzyctColors>()!.shadow!,\n        offset: const Offset(0, -4),\n        blurRadius: 16.0,\n      );\n\n  BoxShadow get dialogAlt => BoxShadow(\n        color: Theme.of(context).extension<LzyctColors>()!.shadow!,\n        offset: const Offset(0, 4),\n        blurRadius: 16.0,\n      );\n\n  BoxShadow get buttonMenu => BoxShadow(\n        color: Theme.of(context).extension<LzyctColors>()!.shadow!,\n        blurRadius: 4.0,\n      );\n}\n"
  },
  {
    "path": "lib/core/usecase/usecase.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nabstract class UseCase<Type, Params> {\n  Future<Either<Failure, Type>> call(Params params);\n}\n\n/// Class to handle when useCase don't need params\nclass NoParams {}\n"
  },
  {
    "path": "lib/core/widgets/button.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass Button extends StatelessWidget {\n  final String title;\n  final VoidCallback? onPressed;\n  final double? width;\n  final Color? color;\n  final Color? titleColor;\n  final double? fontSize;\n  final Color? splashColor;\n\n  const Button({\n    required this.title, required this.onPressed, super.key,\n    this.width,\n    this.color,\n    this.titleColor,\n    this.fontSize,\n    this.splashColor,\n  });\n\n  @override\n  Widget build(BuildContext context) => SizedBox(\n      width: width,\n      child: TextButton(\n        onPressed: onPressed,\n        style: TextButton.styleFrom(\n          backgroundColor: color ?? Theme.of(context).extension<LzyctColors>()!.banner,\n          foregroundColor:\n              Theme.of(context).extension<LzyctColors>()!.buttonText,\n          disabledBackgroundColor: Theme.of(context)\n              .extension<LzyctColors>()!\n              .buttonText\n              ?.withValues(alpha: 0.5),\n          padding: EdgeInsets.symmetric(\n            horizontal: Dimens.space24,\n            vertical: Dimens.space12,\n          ),\n          shape: const RoundedRectangleBorder(\n            borderRadius: BorderRadius.all(\n              Radius.circular(Dimens.cornerRadius),\n            ),\n          ),\n        ),\n        child: Text(\n          title.toUpperCase(),\n          style: Theme.of(context).textTheme.labelLarge?.copyWith(\n                color: Theme.of(context).extension<LzyctColors>()!.background,\n              ),\n          textAlign: TextAlign.center,\n        ),\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/button_notification.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass ButtonNotification extends StatelessWidget {\n  const ButtonNotification({super.key});\n\n  @override\n  Widget build(BuildContext context) => IconButton(\n      icon: SizedBox(\n        width: Dimens.space36,\n        height: Dimens.space36,\n        child: Stack(\n          children: [\n            Positioned(\n              left: 0,\n              top: 0,\n              bottom: 0,\n              child: Icon(Icons.notifications_outlined, size: Dimens.space30),\n            ),\n            Positioned(\n              right: Dimens.space4,\n              bottom: Dimens.space6,\n              child: Visibility(\n                child: CircleAvatar(\n                  backgroundColor: Palette.secondary,\n                  maxRadius: Dimens.space8,\n                  child: Center(\n                    child: Text(\n                      '1',\n                      style: Theme.of(context).textTheme.labelSmall?.copyWith(\n                        color: Theme.of(\n                          context,\n                        ).extension<LzyctColors>()!.background,\n                      ),\n                      textAlign: TextAlign.center,\n                    ),\n                  ),\n                ),\n              ),\n            ),\n          ],\n        ),\n      ),\n      onPressed: () {\n        ///TODO: Go to notifications page\n        // context.goTo(AppRoute.notifications);\n      },\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/button_text.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\n\nclass ButtonText extends StatelessWidget {\n  final String title;\n  final VoidCallback onPressed;\n  final double? width;\n  final Color? color;\n  final Color? titleColor;\n  final double? fontSize;\n  final Color? splashColor;\n\n  const ButtonText({\n    required this.title, required this.onPressed, super.key,\n    this.width,\n    this.color,\n    this.titleColor,\n    this.fontSize,\n    this.splashColor,\n  });\n\n  @override\n  Widget build(BuildContext context) => Container(\n      margin: EdgeInsets.symmetric(vertical: Dimens.space8),\n      child: TextButton(\n        onPressed: onPressed,\n        style: TextButton.styleFrom(\n          foregroundColor: Theme.of(context).extension<LzyctColors>()!.pink,\n        ),\n        child: Text(\n          title.toUpperCase(),\n          style: Theme.of(context).textTheme.labelLarge,\n          textAlign: TextAlign.center,\n        ),\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/circle_image.dart",
    "content": "import 'package:cached_network_image/cached_network_image.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\n\nclass CircleImage extends StatelessWidget {\n  final String url;\n  final double? size;\n\n  const CircleImage({required this.url, super.key, this.size});\n\n  @override\n  Widget build(BuildContext context) => ClipRRect(\n      borderRadius: BorderRadius.circular(360),\n\n      /// 360 degree circle\n      child: CachedNetworkImage(\n        fit: BoxFit.cover,\n        width: size,\n        height: size,\n        fadeInDuration: const Duration(milliseconds: 300),\n        imageUrl: url,\n        placeholder: (context, url) => SizedBox(\n          width: Dimens.space46,\n          height: Dimens.space46,\n          child: const Loading(showMessage: false),\n        ),\n        // errorWidget: (context, url, error) =>\n        //     new SvgPicture.asset(Images.icEmpty),\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/color_loaders.dart",
    "content": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass ColorLoader extends StatefulWidget {\n  final double radius;\n  final double dotRadius;\n\n  const ColorLoader({this.radius = 30.0, this.dotRadius = 6.0});\n\n  @override\n  _ColorLoaderState createState() => _ColorLoaderState();\n}\n\nclass _ColorLoaderState extends State<ColorLoader>\n    with SingleTickerProviderStateMixin {\n  late Animation<double> animationRotation;\n  late Animation<double> animationRadiusIn;\n  late Animation<double> animationRadiusOut;\n  late AnimationController controller;\n\n  double? radius;\n  double? dotRadius;\n\n  @override\n  void initState() {\n    super.initState();\n\n    radius = widget.radius;\n    dotRadius = widget.dotRadius;\n\n    controller = AnimationController(\n      vsync: this,\n      duration: const Duration(milliseconds: 3000),\n    );\n\n    animationRotation = Tween(begin: 0.0, end: 1.0).animate(\n      CurvedAnimation(\n        parent: controller,\n        curve: const Interval(0.0, 1.0),\n      ),\n    );\n\n    animationRadiusIn = Tween(begin: 1.0, end: 0.0).animate(\n      CurvedAnimation(\n        parent: controller,\n        curve: const Interval(0.75, 1.0, curve: Curves.elasticIn),\n      ),\n    );\n\n    animationRadiusOut = Tween(begin: 0.0, end: 1.0).animate(\n      CurvedAnimation(\n        parent: controller,\n        curve: const Interval(0.0, 0.25, curve: Curves.elasticOut),\n      ),\n    );\n\n    controller.addListener(() {\n      setState(() {\n        if (controller.value >= 0.75 && controller.value <= 1.0) {\n          radius = widget.radius * animationRadiusIn.value;\n        } else if (controller.value >= 0.0 && controller.value <= 0.25) {\n          radius = widget.radius * animationRadiusOut.value;\n        }\n      });\n    });\n\n    // controller.addStatusListener((status) {});\n\n    controller.repeat();\n  }\n\n  @override\n  Widget build(BuildContext context) => SizedBox(\n      width: 100.0,\n      height: 100.0,\n      //color: Colors.black12,\n      child: Center(\n        child: RotationTransition(\n          turns: animationRotation,\n          child: Center(\n            child: Stack(\n              children: <Widget>[\n                Transform.translate(\n                  offset: Offset.zero,\n                  child: Dot(\n                    radius: radius,\n                    color: Colors.black26,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0),\n                    radius! * sin(0.0),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Palette.primary,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 1 * pi / 4),\n                    radius! * sin(0.0 + 1 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Palette.secondary,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 2 * pi / 4),\n                    radius! * sin(0.0 + 2 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Theme.of(context).extension<LzyctColors>()!.red,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 3 * pi / 4),\n                    radius! * sin(0.0 + 3 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Theme.of(context).extension<LzyctColors>()!.yellow,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 4 * pi / 4),\n                    radius! * sin(0.0 + 4 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Theme.of(context).extension<LzyctColors>()!.green,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 5 * pi / 4),\n                    radius! * sin(0.0 + 5 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Theme.of(context).extension<LzyctColors>()!.flamingo,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 6 * pi / 4),\n                    radius! * sin(0.0 + 6 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Theme.of(context).extension<LzyctColors>()!.lavender,\n                  ),\n                ),\n                Transform.translate(\n                  offset: Offset(\n                    radius! * cos(0.0 + 7 * pi / 4),\n                    radius! * sin(0.0 + 7 * pi / 4),\n                  ),\n                  child: Dot(\n                    radius: dotRadius,\n                    color: Theme.of(context).extension<LzyctColors>()!.pink,\n                  ),\n                ),\n              ],\n            ),\n          ),\n        ),\n      ),\n    );\n\n  @override\n  void dispose() {\n    controller.dispose();\n    super.dispose();\n  }\n}\n\nclass Dot extends StatelessWidget {\n  final double? radius;\n  final Color? color;\n\n  const Dot({this.radius, this.color});\n\n  @override\n  Widget build(BuildContext context) => Center(\n      child: Container(\n        width: radius,\n        height: radius,\n        decoration: BoxDecoration(color: color, shape: BoxShape.circle),\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/drop_down.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\n\nclass DropDown<T> extends StatefulWidget {\n  const DropDown({\n    required this.value, required this.items, required this.onChanged, super.key,\n    this.hint,\n    this.hintIsVisible = true,\n    this.prefixIcon,\n  });\n\n  final T value;\n  final List<DropdownMenuItem<T>> items;\n  final bool hintIsVisible;\n  final String? hint;\n  final ValueChanged<T?>? onChanged;\n  final Widget? prefixIcon;\n\n  @override\n  _DropDownState<T> createState() => _DropDownState();\n}\n\nclass _DropDownState<T> extends State<DropDown<T>> {\n  @override\n  Widget build(BuildContext context) => Container(\n      margin: EdgeInsets.symmetric(vertical: Dimens.space8),\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          if (widget.hintIsVisible) ...{\n            Text(\n              widget.hint ?? '',\n              style: Theme.of(context)\n                  .textTheme\n                  .bodySmall\n                  ?.copyWith(color: Theme.of(context).hintColor),\n            ),\n            SpacerV(value: Dimens.space6),\n          },\n          ButtonTheme(\n            key: widget.key,\n            alignedDropdown: true,\n            padding: EdgeInsets.zero,\n            textTheme: ButtonTextTheme.primary,\n            child: DropdownButtonFormField<T>(\n              isExpanded: true,\n              dropdownColor: Theme.of(context).extension<LzyctColors>()!.banner,\n              icon: const Icon(Icons.keyboard_arrow_down),\n              style: Theme.of(context).textTheme.bodyMedium?.copyWith(\n                    color:\n                        Theme.of(context).extension<LzyctColors>()!.subtitle,\n                  ),\n\n              decoration: InputDecoration(\n                alignLabelWithHint: true,\n                isDense: true,\n                isCollapsed: true,\n                filled: true,\n                labelStyle: Theme.of(context).textTheme.bodyMedium?.copyWith(\n                      color: Theme.of(context)\n                          .extension<LzyctColors>()!\n                          .subtitle,\n                    ),\n                fillColor: Theme.of(context).extension<LzyctColors>()!.card,\n                prefixIcon: Padding(\n                  padding: EdgeInsets.only(left: Dimens.space12),\n                  child: widget.prefixIcon,\n                ),\n                prefixIconConstraints: BoxConstraints(\n                  minHeight: Dimens.space24,\n                  maxHeight: Dimens.space24,\n                ),\n                contentPadding: EdgeInsets.symmetric(vertical: Dimens.space12),\n                enabledBorder: OutlineInputBorder(\n                  gapPadding: 0,\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                  borderSide: BorderSide(\n                    color: Theme.of(context).extension<LzyctColors>()!.card!,\n                  ),\n                ),\n                border: OutlineInputBorder(\n                  gapPadding: 0,\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                  borderSide: BorderSide(color: Theme.of(context).cardColor),\n                ),\n                disabledBorder: OutlineInputBorder(\n                  gapPadding: 0,\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                  borderSide: BorderSide(color: Theme.of(context).cardColor),\n                ),\n                focusedErrorBorder: OutlineInputBorder(\n                  gapPadding: 0,\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                  borderSide: BorderSide(\n                    color: Theme.of(context).extension<LzyctColors>()!.red!,\n                  ),\n                ),\n                errorBorder: OutlineInputBorder(\n                  gapPadding: 0,\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                  borderSide: BorderSide(\n                    color: Theme.of(context).extension<LzyctColors>()!.red!,\n                  ),\n                ),\n                focusedBorder: OutlineInputBorder(\n                  gapPadding: 0,\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                  borderSide: BorderSide(\n                    color: Theme.of(context).extension<LzyctColors>()!.pink!,\n                  ),\n                ),\n              ),\n              value: widget.value,\n              items: widget.items,\n              onChanged: widget.onChanged,\n            ),\n          ),\n        ],\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/empty.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\n\n\nclass Empty extends StatelessWidget {\n  final String? errorMessage;\n\n  const Empty({super.key, this.errorMessage});\n\n  @override\n  Widget build(BuildContext context) => Column(\n      mainAxisAlignment: MainAxisAlignment.center,\n      children: [\n        Image.asset(\n          Images.icLauncher,\n          width: context.widthInPercent(45),\n        ),\n        Text(\n          errorMessage ?? Strings.of(context)!.errorNoData,\n        ),\n      ],\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/loading.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass Loading extends StatelessWidget {\n  const Loading({this.showMessage = true});\n\n  final bool showMessage;\n\n  @override\n  Widget build(BuildContext context) => FittedBox(\n      child: Column(\n        mainAxisAlignment: MainAxisAlignment.center,\n        children: [\n          const ColorLoader(),\n          Visibility(\n            visible: showMessage,\n            child: Text(\n              Strings.of(context)!.pleaseWait,\n              style: Theme.of(context).textTheme.bodyMedium,\n            ),\n          ),\n        ],\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/my_appbar.dart",
    "content": "import 'package:flutter/material.dart';\n\nclass MyAppBar {\n  const MyAppBar();\n\n  PreferredSize call() => PreferredSize(\n        preferredSize: const Size.fromHeight(kToolbarHeight),\n        child: AppBar(elevation: 0),\n      );\n}\n"
  },
  {
    "path": "lib/core/widgets/parent.dart",
    "content": "import 'package:flutter/material.dart';\n\n\nclass Parent extends StatefulWidget {\n  final Widget? child;\n  final PreferredSize? appBar;\n  final bool avoidBottomInset;\n  final Widget? floatingButton;\n  final Widget? bottomNavigation;\n  final Widget? drawer;\n  final Widget? endDrawer;\n  final Color? backgroundColor;\n  final Key? scaffoldKey;\n  final bool extendBodyBehindAppBar;\n\n  const Parent({\n    super.key,\n    this.child,\n    this.appBar,\n    this.avoidBottomInset = true,\n    this.floatingButton,\n    this.backgroundColor,\n    this.bottomNavigation,\n    this.drawer,\n    this.scaffoldKey,\n    this.endDrawer,\n    this.extendBodyBehindAppBar = false,\n  });\n\n  @override\n  _ParentState createState() => _ParentState();\n}\n\nclass _ParentState extends State<Parent> {\n  @override\n  Widget build(BuildContext context) => GestureDetector(\n      onTap: () => FocusManager.instance.primaryFocus?.unfocus(),\n      child: Scaffold(\n        key: widget.scaffoldKey,\n        backgroundColor: widget.backgroundColor,\n        resizeToAvoidBottomInset: widget.avoidBottomInset,\n        extendBodyBehindAppBar: widget.extendBodyBehindAppBar,\n        appBar: widget.appBar,\n        body: widget.child,\n        drawer: widget.drawer,\n        endDrawer: widget.endDrawer,\n        floatingActionButton: widget.floatingButton,\n        bottomNavigationBar: widget.bottomNavigation,\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/spacer_h.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass SpacerH extends StatelessWidget {\n  const SpacerH({super.key, this.value});\n\n  final double? value;\n\n  @override\n  Widget build(BuildContext context) => Container(\n      width: value ?? Dimens.space8,\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/spacer_v.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nclass SpacerV extends StatelessWidget {\n  const SpacerV({super.key, this.value});\n\n  final double? value;\n\n  @override\n  Widget build(BuildContext context) => Container(\n      height: value ?? Dimens.space8,\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/text_f.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\n\nclass TextF extends StatefulWidget {\n  const TextF({\n    required this.label, super.key,\n    this.controller,\n    this.errorMessage,\n    this.isValid = false,\n    this.prefixIcon,\n    this.suffixIcon,\n    this.obscureText,\n    this.keyboardType,\n    this.inputFormatters,\n    this.enabled = true,\n    this.textInputAction,\n    this.onTap,\n    this.autoFillHints,\n    this.description,\n    this.labelTextStyle,\n    this.noErrorSpace = false,\n    this.focusNode,\n    this.backgroundColor,\n    this.hint,\n    this.validatorListener,\n    this.height,\n    this.textStyle,\n    this.maxLines = 1,\n    this.semantic,\n  });\n\n  final TextEditingController? controller;\n  final bool isValid;\n  final String label;\n  final String? errorMessage;\n  final Widget? suffixIcon;\n  final Widget? prefixIcon;\n  final bool? obscureText;\n  final bool enabled;\n  final TextInputType? keyboardType;\n  final TextInputAction? textInputAction;\n  final List<TextInputFormatter>? inputFormatters;\n  final VoidCallback? onTap;\n  final Function(String)? validatorListener;\n  final List<String>? autoFillHints;\n  final String? description;\n  final TextStyle? labelTextStyle;\n  final TextStyle? textStyle;\n  final bool noErrorSpace;\n  final FocusNode? focusNode;\n  final Color? backgroundColor;\n  final String? hint;\n  final double? height;\n  final int maxLines;\n  final String? semantic;\n\n  @override\n  TextFState createState() => TextFState();\n}\n\nclass TextFState extends State<TextF> {\n  late FocusNode _fn;\n  bool _isFocus = false;\n  bool _isError = false;\n  bool _isFirstLoad = true;\n\n  final _debouncer = Debouncer();\n\n  @override\n  void initState() {\n    super.initState();\n    _fn = widget.focusNode ?? FocusNode();\n    _fn.addListener(() {\n      setState(() {\n        _isFocus = _fn.hasFocus;\n\n        /// Check if focus changed\n        if (!_isFocus) {\n          _isError = !widget.isValid;\n        }\n      });\n    });\n  }\n\n  void _updateStatus() {\n    if (_isFirstLoad) {\n      _isFirstLoad = false;\n    } else {\n      if (_isFocus) {\n        _isError = !widget.isValid;\n      }\n    }\n  }\n\n  void setIsError({required bool isError}) {\n    setState(() {\n      if (_isFirstLoad) {\n        _isFirstLoad = false;\n      } else {\n        _isError = isError;\n      }\n    });\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    _updateStatus();\n\n    return GestureDetector(\n      onTap: widget.onTap,\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: [\n          Stack(\n            children: [\n              Container(\n                width: double.maxFinite,\n                height: widget.height ?? Dimens.textField,\n                decoration: BoxDecoration(\n                  color: widget.enabled\n                      ? widget.backgroundColor ??\n                          Theme.of(context).extension<LzyctColors>()!.background\n                      : Theme.of(context).extension<LzyctColors>()!.shadow,\n                  border: Border.all(\n                    color: _isError\n                        ? Theme.of(context).extension<LzyctColors>()!.red!\n                        : Theme.of(context).extension<LzyctColors>()!.shadow!,\n                  ),\n                  borderRadius: BorderRadius.circular(Dimens.space4),\n                ),\n                alignment: Alignment.topLeft,\n                padding: EdgeInsets.only(bottom: Dimens.space4),\n              ),\n              Positioned(\n                top: Dimens.space5,\n                left: Dimens.zero,\n                right: Dimens.zero,\n                bottom: Dimens.space4,\n                child: _textFormField,\n              ),\n            ],\n          ),\n          if (widget.description != null && !_isError)\n            Padding(\n              padding: EdgeInsets.only(top: Dimens.space6),\n              child: Text(\n                widget.description!,\n                style: Theme.of(context).textTheme.bodySmall?.copyWith(\n                      color: _isError\n                          ? Theme.of(context).extension<LzyctColors>()!.red!\n                          : Theme.of(context).extension<LzyctColors>()!.shadow,\n                    ),\n              ),\n            ),\n          if (!widget.noErrorSpace) ...[\n            AnimatedSwitcher(\n              duration: const Duration(milliseconds: 300),\n              child: _isError && widget.errorMessage != null\n                  ? Padding(\n                      padding: EdgeInsets.only(\n                        left: Dimens.space16,\n                        top: Dimens.space4,\n                      ),\n                      child: Text(\n                        widget.errorMessage ?? '',\n                        style: Theme.of(context).textTheme.bodySmall?.copyWith(\n                              color: Theme.of(context)\n                                  .extension<LzyctColors>()!\n                                  .red,\n                            ),\n                      ),\n                    )\n                  : const SizedBox.shrink(),\n            ),\n            const SpacerV(),\n          ],\n        ],\n      ),\n    );\n  }\n\n  Widget get _textFormField => Semantics(\n      label: widget.semantic,\n      child: TextFormField(\n        autofillHints: widget.autoFillHints,\n        textInputAction: widget.textInputAction,\n        onFieldSubmitted: (_) => FocusScope.of(context).nextFocus(),\n        enabled: widget.enabled,\n        inputFormatters: widget.inputFormatters,\n        keyboardType: widget.keyboardType,\n        controller: widget.controller,\n        obscureText: widget.obscureText ?? false,\n        focusNode: _fn,\n        maxLines: widget.maxLines,\n        onTap: widget.onTap,\n        style: widget.textStyle ?? Theme.of(context).textTheme.bodyMedium500,\n        decoration: InputDecoration(\n          isDense: true,\n          contentPadding: EdgeInsets.only(\n            left: Dimens.space16,\n            top: Dimens.space4,\n          ),\n          enabledBorder: InputBorder.none,\n          focusedBorder: InputBorder.none,\n          border: InputBorder.none,\n          errorBorder: InputBorder.none,\n          prefixIcon: widget.prefixIcon,\n          suffixIcon: widget.suffixIcon,\n          label: widget.label.isEmpty\n              ? null\n              : Text(\n                  widget.label,\n                  style: widget.labelTextStyle ??\n                      Theme.of(context).textTheme.bodySmall?.copyWith(\n                            color: _isError\n                                ? Theme.of(context)\n                                    .extension<LzyctColors>()!\n                                    .red!\n                                : Theme.of(context)\n                                    .extension<LzyctColors>()!\n                                    .banner!,\n                            overflow: TextOverflow.ellipsis,\n                          ),\n                ),\n          alignLabelWithHint: true,\n          hintText: widget.hint,\n          floatingLabelBehavior:\n              widget.hint != null ? FloatingLabelBehavior.always : null,\n          hintStyle: Theme.of(context)\n              .textTheme\n              .bodyMedium\n              ?.copyWith(color: Theme.of(context).hintColor),\n        ),\n        onChanged: (String value) =>\n            _debouncer.run(() => widget.validatorListener?.call(value)),\n        onSaved: (String? value) => widget.validatorListener?.call(value ?? ''),\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/toast.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\n\n\nclass Toast extends StatelessWidget {\n  final IconData? icon;\n  final Color? bgColor;\n  final Color? textColor;\n  final String? message;\n\n  const Toast({super.key, this.icon, this.bgColor, this.message, this.textColor});\n\n  @override\n  Widget build(BuildContext context) => Row(\n      mainAxisAlignment: MainAxisAlignment.center,\n      children: [\n        Container(\n          decoration: BoxDecoration(\n            color: bgColor,\n            borderRadius: BorderRadius.circular(15),\n          ),\n          padding: EdgeInsets.symmetric(vertical: 8.h, horizontal: 16),\n          child: Row(\n            mainAxisAlignment: MainAxisAlignment.center,\n            children: [\n              Icon(\n                icon,\n                color: textColor,\n              ),\n              SizedBox(\n                width: 4.w,\n              ),\n              Container(\n                constraints: BoxConstraints(maxWidth: 250.w),\n                child: Text(\n                  message!,\n                  style: Theme.of(context)\n                      .textTheme\n                      .bodyMedium\n                      ?.copyWith(color: textColor),\n                  textAlign: TextAlign.start,\n                  maxLines: 5,\n                  softWrap: true,\n                ),\n              ),\n            ],\n          ),\n        ),\n      ],\n    );\n}\n"
  },
  {
    "path": "lib/core/widgets/widgets.dart",
    "content": "export 'button.dart';\nexport 'button_notification.dart';\nexport 'button_text.dart';\nexport 'circle_image.dart';\nexport 'color_loaders.dart';\nexport 'drop_down.dart';\nexport 'empty.dart';\nexport 'loading.dart';\nexport 'my_appbar.dart';\nexport 'parent.dart';\nexport 'spacer_h.dart';\nexport 'spacer_v.dart';\nexport 'text_f.dart';\nexport 'toast.dart';\n"
  },
  {
    "path": "lib/dependencies_injection.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:get_it/get_it.dart';\n\nGetIt sl = GetIt.instance;\n\nFuture<void> serviceLocator({\n  bool isUnitTest = false,\n  bool isHiveEnable = true,\n  String prefixBox = '',\n}) async {\n  /// For unit testing only\n  if (isUnitTest) {\n    await sl.reset();\n  }\n\n  if (isHiveEnable) {\n    await _initHiveBoxes(isUnitTest: isUnitTest, prefixBox: prefixBox);\n  }\n  sl.registerSingleton<DioClient>(DioClient(isUnitTest: isUnitTest));\n  _dataSources();\n  _repositories();\n  _useCase();\n  _cubit();\n}\n\nFuture<void> _initHiveBoxes({\n  bool isUnitTest = false,\n  String prefixBox = '',\n}) async {\n  await MainBoxMixin.initHive(prefixBox);\n  sl.registerSingleton<MainBoxMixin>(MainBoxMixin());\n}\n\n/// Register repositories\nvoid _repositories() {\n  sl.registerLazySingleton<AuthRepository>(\n    () => AuthRepositoryImpl(sl(), sl()),\n  );\n  sl.registerLazySingleton<UsersRepository>(() => UsersRepositoryImpl(sl()));\n}\n\n/// Register dataSources\nvoid _dataSources() {\n  sl.registerLazySingleton<AuthRemoteDatasource>(\n    () => AuthRemoteDatasourceImpl(sl()),\n  );\n  sl.registerLazySingleton<UsersRemoteDatasource>(\n    () => UsersRemoteDatasourceImpl(sl()),\n  );\n}\n\nvoid _useCase() {\n  /// Auth\n  sl.registerLazySingleton(() => PostLogin(sl()));\n  sl.registerLazySingleton(() => PostLogout(sl()));\n  sl.registerLazySingleton(() => PostRegister(sl()));\n  sl.registerLazySingleton(() => PostGeneralToken(sl()));\n\n  /// Users\n  sl.registerLazySingleton(() => GetUsers(sl()));\n  sl.registerLazySingleton(() => GetUser(sl()));\n}\n\nvoid _cubit() {\n  /// Auth\n  sl.registerFactory(() => RegisterCubit(sl()));\n  sl.registerFactory(() => AuthCubit(sl()));\n  sl.registerFactory(() => GeneralTokenCubit(sl()));\n  sl.registerFactory(() => LogoutCubit(sl()));\n\n  /// General\n  sl.registerFactory(() => ReloadFormCubit());\n\n  /// Users\n  sl.registerFactory(() => UserCubit(sl()));\n  sl.registerFactory(() => UsersCubit(sl()));\n  sl.registerFactory(() => SettingsCubit());\n  sl.registerFactory(() => MainCubit());\n}\n"
  },
  {
    "path": "lib/features/auth/auth.dart",
    "content": "export 'data/data.dart';\nexport 'domain/domain.dart';\nexport 'pages/pages.dart';\n"
  },
  {
    "path": "lib/features/auth/data/data.dart",
    "content": "export 'datasources/datasources.dart';\nexport 'models/models.dart';\nexport 'repositories/repositories.dart';\n"
  },
  {
    "path": "lib/features/auth/data/datasources/auth_remote_datasources.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\n\nabstract class AuthRemoteDatasource {\n  Future<Either<Failure, RegisterResponse>> register(RegisterParams params);\n\n  Future<Either<Failure, LoginResponse>> login(LoginParams params);\n\n  Future<Either<Failure, GeneralTokenResponse>> generalToken(\n    GeneralTokenParams params,\n  );\n\n  Future<Either<Failure, DiagnosticResponse>> logout();\n}\n\nclass AuthRemoteDatasourceImpl implements AuthRemoteDatasource {\n  final DioClient _client;\n\n  AuthRemoteDatasourceImpl(this._client);\n\n  @override\n  Future<Either<Failure, RegisterResponse>> register(\n    RegisterParams params,\n  ) async {\n    final response = await _client.postRequest(\n      ListAPI.user,\n      data: params.toJson(),\n      converter: (response) =>\n          RegisterResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    return response;\n  }\n\n  @override\n  Future<Either<Failure, LoginResponse>> login(LoginParams params) async {\n    final response = await _client.postRequest(\n      ListAPI.login,\n      data: params.toJson(),\n      converter: (response) =>\n          LoginResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    return response;\n  }\n\n  @override\n  Future<Either<Failure, GeneralTokenResponse>> generalToken(\n    GeneralTokenParams params,\n  ) async {\n    final response = await _client.postRequest(\n      ListAPI.generalToken,\n      data: params.toJson(),\n      converter: (response) =>\n          GeneralTokenResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    return response;\n  }\n\n  @override\n  Future<Either<Failure, DiagnosticResponse>> logout() async {\n    final response = await _client.postRequest(\n      ListAPI.logout,\n      converter: (response) =>\n          DiagnosticResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    return response;\n  }\n}\n"
  },
  {
    "path": "lib/features/auth/data/datasources/datasources.dart",
    "content": "export 'auth_remote_datasources.dart';\n"
  },
  {
    "path": "lib/features/auth/data/models/general_token_response.dart",
    "content": "import 'package:flutter_auth_app/features/auth/auth.dart';\nimport 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'general_token_response.freezed.dart';\npart 'general_token_response.g.dart';\n\n@freezed\nsealed class GeneralTokenResponse with _$GeneralTokenResponse {\n  const factory GeneralTokenResponse({\n    @JsonKey(name: 'diagnostic') Diagnostic? diagnostic,\n    @JsonKey(name: 'data') DataGeneralToken? data,\n  }) = _GeneralTokenResponse;\n\n  const GeneralTokenResponse._();\n\n  GeneralToken toEntity() => GeneralToken(token: '${data?.tokenType} ${data?.token}');\n\n  factory GeneralTokenResponse.fromJson(Map<String, dynamic> json) =>\n      _$GeneralTokenResponseFromJson(json);\n}\n\n@freezed\nsealed class DataGeneralToken with _$DataGeneralToken {\n  const factory DataGeneralToken({\n    @JsonKey(name: 'token') String? token,\n    @JsonKey(name: 'tokenType') String? tokenType,\n  }) = _DataGeneralToken;\n\n  factory DataGeneralToken.fromJson(Map<String, dynamic> json) =>\n      _$DataGeneralTokenFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/auth/data/models/login_response.dart",
    "content": "import 'package:flutter_auth_app/features/auth/auth.dart';\nimport 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'login_response.freezed.dart';\npart 'login_response.g.dart';\n\n@freezed\nsealed class LoginResponse with _$LoginResponse {\n  const factory LoginResponse({\n    @JsonKey(name: 'diagnostic') Diagnostic? diagnostic,\n    @JsonKey(name: 'data') DataLogin? data,\n  }) = _LoginResponse;\n\n  const LoginResponse._();\n\n  Login toEntity() => Login(token: '${data?.tokenType} ${data?.token}');\n\n  factory LoginResponse.fromJson(Map<String, dynamic> json) =>\n      _$LoginResponseFromJson(json);\n}\n\n@freezed\nsealed class DataLogin with _$DataLogin {\n  const factory DataLogin({\n    @JsonKey(name: 'token') String? token,\n    @JsonKey(name: 'tokenType') String? tokenType,\n    @JsonKey(name: 'refreshToken') String? refreshToken,\n  }) = _DataLogin;\n\n  factory DataLogin.fromJson(Map<String, dynamic> json) =>\n      _$DataLoginFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/auth/data/models/models.dart",
    "content": "export 'general_token_response.dart';\nexport 'login_response.dart';\nexport 'register_response.dart';\n"
  },
  {
    "path": "lib/features/auth/data/models/register_response.dart",
    "content": "import 'package:flutter_auth_app/features/auth/auth.dart';\nimport 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'register_response.freezed.dart';\npart 'register_response.g.dart';\n\n@freezed\nsealed class RegisterResponse with _$RegisterResponse {\n  const factory RegisterResponse({\n    @JsonKey(name: 'diagnostic') Diagnostic? diagnostic,\n    @JsonKey(name: 'data') DataRegister? data,\n  }) = _RegisterResponse;\n\n  const RegisterResponse._();\n\n  Register toEntity() => Register(message: diagnostic?.message ?? '');\n\n  factory RegisterResponse.fromJson(Map<String, dynamic> json) =>\n      _$RegisterResponseFromJson(json);\n}\n\n@freezed\nsealed class DataRegister with _$DataRegister {\n  const factory DataRegister({\n    @JsonKey(name: 'id') String? id,\n    @JsonKey(name: 'name') String? name,\n    @JsonKey(name: 'email') String? email,\n    @JsonKey(name: 'photo') String? photo,\n    @JsonKey(name: 'verified') bool? verified,\n    @JsonKey(name: 'createdAt') String? createdAt,\n    @JsonKey(name: 'updatedAt') String? updatedAt,\n  }) = _DataRegister;\n\n  factory DataRegister.fromJson(Map<String, dynamic> json) =>\n      _$DataRegisterFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/auth/data/repositories/auth_repository_impl.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/auth/auth.dart';\nimport 'package:flutter_auth_app/utils/services/hive/hive.dart';\n\nclass AuthRepositoryImpl implements AuthRepository {\n  /// Data Source\n  final AuthRemoteDatasource authRemoteDatasource;\n  final MainBoxMixin mainBoxMixin;\n\n  const AuthRepositoryImpl(this.authRemoteDatasource, this.mainBoxMixin);\n\n  @override\n  Future<Either<Failure, Login>> login(LoginParams params) async {\n    final response = await authRemoteDatasource.login(params);\n\n    return response.fold((failure) => Left(failure), (loginResponse) {\n      mainBoxMixin.addData(MainBoxKeys.isLogin, true);\n      mainBoxMixin.addData(\n        MainBoxKeys.authToken,\n        '${loginResponse.data?.tokenType} ${loginResponse.data?.token}',\n      );\n      mainBoxMixin.addData(\n        MainBoxKeys.refreshToken,\n        '${loginResponse.data?.tokenType} ${loginResponse.data?.refreshToken}',\n      );\n\n      return Right(loginResponse.toEntity());\n    });\n  }\n\n  @override\n  Future<Either<Failure, Register>> register(RegisterParams params) async {\n    final response = await authRemoteDatasource.register(params);\n\n    return response.fold(\n      (failure) => Left(failure),\n      (registerResponse) => Right(registerResponse.toEntity()),\n    );\n  }\n\n  @override\n  Future<Either<Failure, GeneralToken>> generalToken(\n    GeneralTokenParams params,\n  ) async {\n    final response = await authRemoteDatasource.generalToken(params);\n\n    return response.fold((failure) => Left(failure), (loginResponse) {\n      mainBoxMixin.addData(\n        MainBoxKeys.generalToken,\n        '${loginResponse.data?.tokenType} ${loginResponse.data?.token}',\n      );\n\n      return Right(loginResponse.toEntity());\n    });\n  }\n\n  @override\n  Future<Either<Failure, String>> logout() async {\n    final response = await authRemoteDatasource.logout();\n\n    return response.fold(\n      (failure) => Left(failure),\n      (loginResponse) => Right(loginResponse.diagnostic?.message ?? ''),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/features/auth/data/repositories/repositories.dart",
    "content": "export 'auth_repository_impl.dart';\n"
  },
  {
    "path": "lib/features/auth/domain/domain.dart",
    "content": "export 'entities/entities.dart';\nexport 'repositories/repositories.dart';\nexport 'usecases/usecases.dart';\n"
  },
  {
    "path": "lib/features/auth/domain/entities/entities.dart",
    "content": "export 'general_token.dart';\nexport 'login.dart';\nexport 'register.dart';\n"
  },
  {
    "path": "lib/features/auth/domain/entities/general_token.dart",
    "content": "import 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'general_token.freezed.dart';\n\n@freezed\nsealed class GeneralToken with _$GeneralToken {\n  const factory GeneralToken({String? token}) = _GeneralToken;\n}\n"
  },
  {
    "path": "lib/features/auth/domain/entities/login.dart",
    "content": "import 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'login.freezed.dart';\n\n@freezed\nsealed class Login with _$Login {\n  const factory Login({String? token}) = _Login;\n}\n"
  },
  {
    "path": "lib/features/auth/domain/entities/register.dart",
    "content": "import 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'register.freezed.dart';\n\n@freezed\nsealed class Register with _$Register {\n  const factory Register({String? message}) = _Register;\n}\n"
  },
  {
    "path": "lib/features/auth/domain/repositories/auth_repository.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/auth/auth.dart';\n\nabstract class AuthRepository {\n  Future<Either<Failure, Login>> login(LoginParams params);\n\n  Future<Either<Failure, Register>> register(RegisterParams params);\n\n  Future<Either<Failure, GeneralToken>> generalToken(GeneralTokenParams params);\n\n  Future<Either<Failure, String>> logout();\n}\n"
  },
  {
    "path": "lib/features/auth/domain/repositories/repositories.dart",
    "content": "export 'auth_repository.dart';\n"
  },
  {
    "path": "lib/features/auth/domain/usecases/post_general_token.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'post_general_token.freezed.dart';\npart 'post_general_token.g.dart';\n\nclass PostGeneralToken extends UseCase<GeneralToken, GeneralTokenParams> {\n  final AuthRepository _repo;\n\n  PostGeneralToken(this._repo);\n\n  @override\n  Future<Either<Failure, GeneralToken>> call(GeneralTokenParams params) =>\n      _repo.generalToken(params);\n}\n\n@freezed\nsealed class GeneralTokenParams with _$GeneralTokenParams {\n  const factory GeneralTokenParams({\n    String? clientId,\n    String? clientSecret,\n  }) = _GeneralTokenParams;\n\n  factory GeneralTokenParams.fromJson(Map<String, dynamic> json) =>\n      _$GeneralTokenParamsFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/auth/domain/usecases/post_login.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'post_login.freezed.dart';\npart 'post_login.g.dart';\n\nclass PostLogin extends UseCase<Login, LoginParams> {\n  final AuthRepository _repo;\n\n  PostLogin(this._repo);\n\n  @override\n  Future<Either<Failure, Login>> call(LoginParams params) =>\n      _repo.login(params);\n}\n\n@freezed\nsealed class LoginParams with _$LoginParams {\n  const factory LoginParams({\n    @Default('') String email,\n    @Default('') String password,\n    String? osInfo,\n    String? deviceInfo,\n    @Default('GeneratedFCMToken') String fcmToken,\n  }) = _LoginParams;\n\n  factory LoginParams.fromJson(Map<String, dynamic> json) =>\n      _$LoginParamsFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/auth/domain/usecases/post_logout.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\n\nclass PostLogout extends UseCase<String, NoParams> {\n  final AuthRepository _repo;\n\n// coverage:ignore-start\n  PostLogout(this._repo);\n\n  @override\n  Future<Either<Failure, String>> call(NoParams _) => _repo.logout();\n// coverage:ignore-end\n}\n"
  },
  {
    "path": "lib/features/auth/domain/usecases/post_register.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'post_register.freezed.dart';\npart 'post_register.g.dart';\n\nclass PostRegister extends UseCase<Register, RegisterParams> {\n  final AuthRepository _repo;\n\n  PostRegister(this._repo);\n\n  @override\n  Future<Either<Failure, Register>> call(RegisterParams params) =>\n      _repo.register(params);\n}\n\n@freezed\nsealed class RegisterParams with _$RegisterParams {\n  const factory RegisterParams({\n    String? name,\n    String? email,\n    String? password,\n  }) = _RegisterParams;\n\n  factory RegisterParams.fromJson(Map<String, dynamic> json) =>\n      _$RegisterParamsFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/auth/domain/usecases/usecases.dart",
    "content": "export 'post_general_token.dart';\nexport 'post_login.dart';\nexport 'post_logout.dart';\nexport 'post_register.dart';\n"
  },
  {
    "path": "lib/features/auth/pages/login/cubit/auth_cubit.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'auth_cubit.freezed.dart';\n\nclass AuthCubit extends Cubit<AuthState> {\n  AuthCubit(this._postLogin) : super(const AuthStateLoading());\n\n  final PostLogin _postLogin;\n\n  Future<void> login(LoginParams params) async {\n    emit(const AuthStateLoading());\n    final data = await _postLogin.call(params);\n\n    data.fold(\n      (l) {\n        if (l is ServerFailure) {\n          emit(AuthStateFailure(l.message ?? ''));\n        }\n      },\n      (r) => emit(AuthStateSuccess(r.token)),\n    );\n  }\n}\n@freezed\nsealed class AuthState with _$AuthState {\n  const factory AuthState.loading() = AuthStateLoading;\n  const factory AuthState.success(String? data) = AuthStateSuccess;\n  const factory AuthState.failure(String message) = AuthStateFailure;\n  const factory AuthState.showHide() = AuthStateShowHide;\n  const factory AuthState.init() = AuthStateInit;\n}\n"
  },
  {
    "path": "lib/features/auth/pages/login/cubit/cubit.dart",
    "content": "export 'auth_cubit.dart';\n"
  },
  {
    "path": "lib/features/auth/pages/login/login.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'login_page.dart';\n"
  },
  {
    "path": "lib/features/auth/pages/login/login_page.dart",
    "content": "import 'dart:io';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:go_router/go_router.dart';\n\nclass LoginPage extends StatefulWidget {\n  const LoginPage({super.key});\n\n  @override\n  State<LoginPage> createState() => _LoginPageState();\n}\n\nclass _LoginPageState extends State<LoginPage> {\n  /// Controller\n  final _conEmail = TextEditingController();\n  final _conPassword = TextEditingController();\n\n  bool _isPasswordVisible = false;\n\n  /// Focus Node\n  final _fnEmail = FocusNode();\n  final _fnPassword = FocusNode();\n\n  /// Global key\n  final _formValidator = <String, bool>{};\n\n  @override\n  Widget build(BuildContext context) => Parent(\n      child: BlocListener<AuthCubit, AuthState>(\n        listener: (_, state) => switch (state) {\n          AuthStateLoading() => context.show(),\n          AuthStateSuccess(:final data) => (() {\n            context.dismiss();\n            data.toString().toToastSuccess(context);\n\n            TextInput.finishAutofillContext();\n            context.goNamed(Routes.root.name);\n          })(),\n          AuthStateFailure(:final message) => (() {\n            context.dismiss();\n            message.toToastError(context);\n          })(),\n          _ => {},\n        },\n        child: Center(\n          child: SingleChildScrollView(\n            child: Padding(\n              padding: EdgeInsets.all(Dimens.space24),\n              child: AutofillGroup(\n                child: Column(\n                  mainAxisAlignment: MainAxisAlignment.center,\n                  children: [\n                    Image.asset(\n                      Theme.of(context).brightness == Brightness.dark\n                          ? Images.icLauncherDark\n                          : Images.icLauncher,\n                      width: context.widthInPercent(70),\n                    ),\n                    SpacerV(value: Dimens.space50),\n                    _loginForm(),\n                    ButtonText(\n                      title: Strings.of(context)!.askRegister,\n                      onPressed: () {\n                        /// Direct to register page\n                        context.pushNamed(Routes.register.name);\n                      },\n                    ),\n                  ],\n                ),\n              ),\n            ),\n          ),\n        ),\n      ),\n    );\n\n  Widget _loginForm() => BlocBuilder<ReloadFormCubit, ReloadFormState>(\n    builder: (_, _) => Column(\n        children: [\n          TextF(\n            autoFillHints: const [AutofillHints.email],\n            key: const Key('email'),\n            focusNode: _fnEmail,\n            textInputAction: TextInputAction.next,\n            controller: _conEmail,\n            keyboardType: TextInputType.emailAddress,\n            prefixIcon: Icon(\n              Icons.alternate_email,\n              color: Theme.of(context).textTheme.bodyLarge?.color,\n            ),\n            hint: 'mudassir@lazycatlabs.com',\n            label: Strings.of(context)!.email,\n            isValid: _formValidator.putIfAbsent('email', () => false),\n            validatorListener: (String value) {\n              _formValidator['email'] = value.isValidEmail();\n              context.read<ReloadFormCubit>().reload();\n            },\n            errorMessage: Strings.of(context)!.errorInvalidEmail,\n          ),\n          TextF(\n            autoFillHints: const [AutofillHints.password],\n            key: const Key('password'),\n            focusNode: _fnPassword,\n            textInputAction: TextInputAction.done,\n            controller: _conPassword,\n            keyboardType: TextInputType.text,\n            prefixIcon: Icon(\n              Icons.lock_outline,\n              color: Theme.of(context).textTheme.bodyLarge?.color,\n            ),\n            obscureText: !_isPasswordVisible,\n            hint: 'pass123',\n            label: Strings.of(context)!.password,\n            suffixIcon: IconButton(\n              padding: EdgeInsets.zero,\n              constraints: const BoxConstraints(),\n              onPressed: () {\n                _isPasswordVisible = !_isPasswordVisible;\n                context.read<ReloadFormCubit>().reload();\n              },\n              icon: Icon(\n                _isPasswordVisible ? Icons.visibility_off : Icons.visibility,\n              ),\n            ),\n            isValid: _formValidator.putIfAbsent('password', () => false),\n            validatorListener: (String value) {\n              _formValidator['password'] = value.length > 5;\n              context.read<ReloadFormCubit>().reload();\n            },\n            errorMessage: Strings.of(context)!.errorPasswordLength,\n          ),\n          SpacerV(value: Dimens.space24),\n          Button(\n            title: Strings.of(context)!.login,\n            width: double.maxFinite,\n            onPressed: _formValidator.validate()\n                ? () => context.read<AuthCubit>().login(\n                    LoginParams(\n                      email: _conEmail.text,\n                      password: _conPassword.text,\n                      osInfo: Platform.operatingSystem,\n                      deviceInfo: Platform.localHostname,\n                    ),\n                  )\n                : null,\n          ),\n        ],\n      ),\n  );\n}\n"
  },
  {
    "path": "lib/features/auth/pages/pages.dart",
    "content": "export 'login/login.dart';\nexport 'register/register.dart';\n"
  },
  {
    "path": "lib/features/auth/pages/register/cubit/cubit.dart",
    "content": "export 'register_cubit.dart';\n"
  },
  {
    "path": "lib/features/auth/pages/register/cubit/register_cubit.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'register_cubit.freezed.dart';\n\nclass RegisterCubit extends Cubit<RegisterState> {\n  final PostRegister _postRegister;\n\n  RegisterCubit(this._postRegister) : super(const RegisterStateLoading());\n\n  Future<void> register(RegisterParams params) async {\n    emit(const RegisterStateLoading());\n    final data = await _postRegister.call(params);\n    data.fold(\n      (l) {\n        if (l is ServerFailure) {\n          emit(RegisterStateFailure(l.message ?? ''));\n        }\n      },\n      (r) => emit(RegisterStateSuccess(r)),\n    );\n  }\n}\n@freezed\nsealed class RegisterState with _$RegisterState {\n  const factory RegisterState.loading() = RegisterStateLoading;\n  const factory RegisterState.success(Register? data) = RegisterStateSuccess;\n  const factory RegisterState.failure(String message) = RegisterStateFailure;\n  const factory RegisterState.init() = RegisterStateInit;\n  const factory RegisterState.showHidePassword() = RegisterStateShowHidePassword;\n}\n"
  },
  {
    "path": "lib/features/auth/pages/register/register.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'register_page.dart';\n"
  },
  {
    "path": "lib/features/auth/pages/register/register_page.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:go_router/go_router.dart';\n\nclass RegisterPage extends StatefulWidget {\n  const RegisterPage({super.key});\n\n  @override\n  State<RegisterPage> createState() => _RegisterPageState();\n}\n\nclass _RegisterPageState extends State<RegisterPage> {\n  /// Controller\n  final _conName = TextEditingController();\n  final _conEmail = TextEditingController();\n  final _conPassword = TextEditingController();\n  final _conPasswordRepeat = TextEditingController();\n\n  /// Focus Node\n  final _fnName = FocusNode();\n  final _fnEmail = FocusNode();\n  final _fnPassword = FocusNode();\n  final _fnPasswordRepeat = FocusNode();\n\n  /// isPasswordVisible\n  bool _isPasswordVisible = false;\n  bool _isPasswordRepeatVisible = false;\n\n  final _formValidator = <String, bool>{};\n\n  @override\n  Widget build(BuildContext context) => Parent(\n      appBar: const MyAppBar().call(),\n      child: BlocListener<RegisterCubit, RegisterState>(\n        listener: (_, state) => switch (state) {\n          RegisterStateLoading() => context.show(),\n          RegisterStateSuccess(:final data) => (() {\n            context.dismiss();\n\n            data?.message?.toToastSuccess(context);\n\n            /// back to login page after register success\n            context.pop();\n          })(),\n          RegisterStateFailure(:final message) => (() {\n            context.dismiss();\n            message.toToastError(context);\n          })(),\n          _ => {},\n        },\n        child: Center(\n          child: SingleChildScrollView(\n            child: Padding(\n              padding: EdgeInsets.all(Dimens.space24),\n              child: Column(\n                mainAxisAlignment: MainAxisAlignment.center,\n                children: [\n                  Image.asset(\n                    Theme.of(context).brightness == Brightness.dark\n                        ? Images.icLauncherDark\n                        : Images.icLauncher,\n                    width: context.widthInPercent(70),\n                  ),\n                  _registerForm(),\n                ],\n              ),\n            ),\n          ),\n        ),\n      ),\n    );\n\n  Widget _registerForm() => BlocBuilder<ReloadFormCubit, ReloadFormState>(\n      builder: (_, _) => Column(\n          children: [\n            TextF(\n              key: const Key('name'),\n              focusNode: _fnName,\n              textInputAction: TextInputAction.next,\n              controller: _conName,\n              keyboardType: TextInputType.emailAddress,\n              prefixIcon: Icon(\n                Icons.person,\n                color: Theme.of(context).textTheme.bodyLarge?.color,\n              ),\n              hint: 'Mudassir',\n              label: Strings.of(context)!.name,\n              isValid: _formValidator.putIfAbsent('name', () => false),\n              validatorListener: (String value) {\n                _formValidator['name'] = value.isNotEmpty;\n                context.read<ReloadFormCubit>().reload();\n              },\n              errorMessage: Strings.of(context)!.errorEmptyField,\n            ),\n            TextF(\n              key: const Key('email'),\n              focusNode: _fnEmail,\n              textInputAction: TextInputAction.next,\n              controller: _conEmail,\n              keyboardType: TextInputType.emailAddress,\n              prefixIcon: Icon(\n                Icons.alternate_email,\n                color: Theme.of(context).textTheme.bodyLarge?.color,\n              ),\n              hint: 'mudassir@lazycatlabs.com',\n              label: Strings.of(context)!.email,\n              isValid: _formValidator.putIfAbsent('email', () => false),\n              validatorListener: (String value) {\n                _formValidator['email'] = value.isValidEmail();\n                context.read<ReloadFormCubit>().reload();\n              },\n              errorMessage: Strings.of(context)!.errorInvalidEmail,\n            ),\n            TextF(\n              key: const Key('password'),\n              focusNode: _fnPassword,\n              textInputAction: TextInputAction.next,\n              controller: _conPassword,\n              keyboardType: TextInputType.text,\n              prefixIcon: Icon(\n                Icons.lock_outline,\n                color: Theme.of(context).textTheme.bodyLarge?.color,\n              ),\n              obscureText: !_isPasswordVisible,\n              hint: '••••••••••••',\n              label: Strings.of(context)!.password,\n              suffixIcon: IconButton(\n                padding: EdgeInsets.zero,\n                constraints: const BoxConstraints(),\n                onPressed: () {\n                  _isPasswordVisible = !_isPasswordVisible;\n                  context.read<ReloadFormCubit>().reload();\n                },\n                icon: Icon(\n                  !_isPasswordVisible ? Icons.visibility_off : Icons.visibility,\n                ),\n              ),\n              isValid: _formValidator.putIfAbsent('password', () => false),\n              validatorListener: (String value) {\n                _formValidator['password'] = value.length > 5;\n                context.read<ReloadFormCubit>().reload();\n              },\n              errorMessage: Strings.of(context)!.errorPasswordLength,\n              semantic: 'password',\n            ),\n            TextF(\n              key: const Key('repeat_password'),\n              focusNode: _fnPasswordRepeat,\n              textInputAction: TextInputAction.done,\n              controller: _conPasswordRepeat,\n              keyboardType: TextInputType.text,\n              prefixIcon: Icon(\n                Icons.lock_outline,\n                color: Theme.of(context).textTheme.bodyLarge?.color,\n              ),\n              obscureText: !_isPasswordRepeatVisible,\n              hint: '••••••••••••',\n              label: Strings.of(context)!.passwordRepeat,\n              suffixIcon: IconButton(\n                padding: EdgeInsets.zero,\n                constraints: const BoxConstraints(),\n                onPressed: () {\n                  _isPasswordRepeatVisible = !_isPasswordRepeatVisible;\n                  context.read<ReloadFormCubit>().reload();\n                },\n                icon: Icon(\n                  !_isPasswordRepeatVisible\n                      ? Icons.visibility_off\n                      : Icons.visibility,\n                ),\n              ),\n              isValid: _formValidator.putIfAbsent(\n                'repeat_password',\n                () => false,\n              ),\n              validatorListener: (String value) {\n                _formValidator['repeat_password'] = value == _conPassword.text;\n                context.read<ReloadFormCubit>().reload();\n              },\n              errorMessage: Strings.of(context)!.errorPasswordNotMatch,\n              semantic: 'repeat_password',\n            ),\n            SpacerV(value: Dimens.space24),\n            Button(\n              key: const Key('btn_register'),\n              width: double.maxFinite,\n              title: Strings.of(context)!.register,\n              onPressed: _formValidator.validate()\n                  ? () {\n                      /// Validate form first\n                      context.read<RegisterCubit>().register(\n                        RegisterParams(\n                          name: _conName.text,\n                          email: _conEmail.text,\n                          password: _conPassword.text,\n                        ),\n                      );\n                    }\n                  : null,\n            ),\n          ],\n        ),\n    );\n}\n"
  },
  {
    "path": "lib/features/features.dart",
    "content": "export 'auth/auth.dart';\nexport 'general/general.dart';\nexport 'users/users.dart';\n"
  },
  {
    "path": "lib/features/general/data/data.dart",
    "content": "export 'models/models.dart';\n"
  },
  {
    "path": "lib/features/general/data/models/diagnostic.dart",
    "content": "import 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'diagnostic.freezed.dart';\npart 'diagnostic.g.dart';\n\n@freezed\nsealed class Diagnostic with _$Diagnostic {\n  const factory Diagnostic({\n    @JsonKey(name: 'status') String? status,\n    @JsonKey(name: 'message') String? message,\n  }) = _Diagnostic;\n\n  factory Diagnostic.fromJson(Map<String, dynamic> json) =>\n      _$DiagnosticFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/general/data/models/diagnostic_response.dart",
    "content": "import 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'diagnostic_response.freezed.dart';\npart 'diagnostic_response.g.dart';\n\n@freezed\nsealed class DiagnosticResponse with _$DiagnosticResponse {\n  const factory DiagnosticResponse({\n    @JsonKey(name: 'diagnostic') Diagnostic? diagnostic,\n  }) = _DiagnosticResponse;\n\n  factory DiagnosticResponse.fromJson(Map<String, dynamic> json) =>\n      _$DiagnosticResponseFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/general/data/models/models.dart",
    "content": "export 'diagnostic.dart';\nexport 'diagnostic_response.dart';\nexport 'page.dart';\n"
  },
  {
    "path": "lib/features/general/data/models/page.dart",
    "content": "import 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'page.freezed.dart';\npart 'page.g.dart';\n\n@freezed\nsealed class Page with _$Page {\n  const factory Page({\n    @JsonKey(name: 'currentPage') int? currentPage,\n    @JsonKey(name: 'perPage') int? perPage,\n    @JsonKey(name: 'lastPage') int? lastPage,\n    @JsonKey(name: 'total') int? total,\n  }) = _Page;\n\n  factory Page.fromJson(Map<String, dynamic> json) => _$PageFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/general/general.dart",
    "content": "export 'data/data.dart';\nexport 'pages/pages.dart';\n"
  },
  {
    "path": "lib/features/general/pages/cubit/cubit.dart",
    "content": "export 'reload_form_cubit.dart';\n"
  },
  {
    "path": "lib/features/general/pages/cubit/reload_form_cubit.dart",
    "content": "import 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'reload_form_cubit.freezed.dart';\n\nclass ReloadFormCubit extends Cubit<ReloadFormState> {\n  ReloadFormCubit() : super(const ReloadFormStateInitial());\n\n  void reload() {\n    emit(const ReloadFormStateInitial());\n    emit(const ReloadFormStateFormUpdate());\n  }\n}\n@freezed\nsealed class ReloadFormState with _$ReloadFormState {\n  const factory ReloadFormState.initial() = ReloadFormStateInitial;\n\n  const factory ReloadFormState.formUpdated() = ReloadFormStateFormUpdate;\n}\n"
  },
  {
    "path": "lib/features/general/pages/main/cubit/cubit.dart",
    "content": "export 'logout_cubit.dart';\nexport 'main_cubit.dart';\nexport 'user_cubit.dart';\n"
  },
  {
    "path": "lib/features/general/pages/main/cubit/logout_cubit.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/services/hive/hive.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'logout_cubit.freezed.dart';\n\nclass LogoutCubit extends Cubit<LogoutState> {\n  final PostLogout _postLogout;\n\n  LogoutCubit(this._postLogout) : super(const LogoutStateLoading());\n\n  Future<void> postLogout() async {\n    emit(const LogoutStateLoading());\n    final data = await _postLogout.call(NoParams());\n    data.fold(\n      (l) => emit(LogoutStateFailure((l as ServerFailure).message ?? '')),\n      (r) async {\n        await sl<MainBoxMixin>().logoutBox();\n        emit(LogoutStateSuccess(r));\n      },\n    );\n  }\n}\n@freezed\nsealed class LogoutState with _$LogoutState {\n  const factory LogoutState.loading() = LogoutStateLoading;\n  const factory LogoutState.failure(String message) = LogoutStateFailure;\n  const factory LogoutState.success(String message) = LogoutStateSuccess;\n}\n"
  },
  {
    "path": "lib/features/general/pages/main/cubit/main_cubit.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'main_cubit.freezed.dart';\n\nclass MainCubit extends Cubit<MainState> {\n  MainCubit() : super(const MainStateLoading());\n\n  int _currentIndex = 0;\n  late List<DataHelper>? dataMenus;\n\n  void updateIndex(int index, DataHelper? mockMenu, {BuildContext? context}) {\n    emit(const MainStateLoading());\n    _currentIndex = index;\n    if (context != null) {\n      initMenu(context, mockMenu: mockMenu);\n    }\n    emit(MainStateSuccess(mockMenu ?? dataMenus?[_currentIndex]));\n  }\n\n  void initMenu(BuildContext context, {DataHelper? mockMenu}) {\n    dataMenus = [\n      DataHelper(\n        title: Strings.of(context)?.dashboard ?? 'Dashboard',\n        isSelected: true,\n      ),\n      DataHelper(title: Strings.of(context)?.settings ?? 'Settings'),\n      DataHelper(title: Strings.of(context)?.logout ?? 'Logout'),\n    ];\n    updateIndex(_currentIndex, mockMenu);\n  }\n\n  bool onBackPressed(\n    BuildContext context,\n    GlobalKey<ScaffoldState> scaffoldState, {\n    bool isDrawerClosed = false,\n  }) {\n    if (dataMenus == null) {\n      return false;\n    }\n    if (dataMenus?[_currentIndex].title ==\n        (Strings.of(context)?.dashboard ?? 'Dashboard')) {\n      return true;\n    } else {\n      if ((scaffoldState.currentState?.isEndDrawerOpen ?? false) ||\n          isDrawerClosed) {\n        //hide navigation drawer\n        scaffoldState.currentState?.openDrawer();\n      } else {\n        for (final menu in dataMenus!) {\n          menu.isSelected =\n              menu.title == (Strings.of(context)?.dashboard ?? 'Dashboard');\n        }\n      }\n\n      return false;\n    }\n  }\n}\n\n@freezed\nsealed class MainState with _$MainState {\n  const factory MainState.loading() = MainStateLoading;\n\n  const factory MainState.success(DataHelper? data) = MainStateSuccess;\n}\n"
  },
  {
    "path": "lib/features/general/pages/main/cubit/user_cubit.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'user_cubit.freezed.dart';\n\nclass UserCubit extends Cubit<UserState> {\n  final GetUser _getUser;\n\n  UserCubit(this._getUser) : super(const UserStateLoading());\n\n  Future<void> getUser() async {\n    emit(const UserStateLoading());\n    final data = await _getUser.call(NoParams());\n    data.fold(\n      (l) => emit(UserStateFailure((l as ServerFailure).message ?? '')),\n      (r) => emit(UserStateSuccess(r)),\n    );\n  }\n}\n@freezed\nsealed class UserState with _$UserState {\n  const factory UserState.loading() = UserStateLoading;\n  const factory UserState.failure(String message) = UserStateFailure;\n  const factory UserState.success(User? data) = UserStateSuccess;\n}\n"
  },
  {
    "path": "lib/features/general/pages/main/main.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'main_page.dart';\nexport 'menu_drawer.dart';\n"
  },
  {
    "path": "lib/features/general/pages/main/main_page.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:go_router/go_router.dart';\n\nclass MainPage extends StatefulWidget {\n  const MainPage({required this.child, super.key});\n\n  final Widget child;\n\n  @override\n  _MainPageState createState() => _MainPageState();\n}\n\nclass _MainPageState extends State<MainPage> {\n  final GlobalKey<ScaffoldState> _scaffoldKey = GlobalKey<ScaffoldState>();\n\n  @override\n  void didChangeDependencies() {\n    super.didChangeDependencies();\n    context.read<MainCubit>().initMenu(context);\n  }\n\n  @override\n  Widget build(BuildContext context) => PopScope(\n    onPopInvokedWithResult: (_, _) =>\n        context.read<MainCubit>().onBackPressed(context, _scaffoldKey),\n    child: Parent(\n      scaffoldKey: _scaffoldKey,\n      appBar: _appBar(),\n      drawer: SizedBox(\n        width: context.widthInPercent(80),\n        child: BlocProvider(\n          //coverage:ignore-start\n          create: (_) => sl<UserCubit>()..getUser(),\n          child: MenuDrawer(\n            dataMenu:\n                context.read<MainCubit>().dataMenus ??\n                [\n                  DataHelper(title: 'Dashboard', isSelected: true),\n                  DataHelper(title: 'Settings'),\n                  DataHelper(title: 'Logout'),\n                ],\n            currentIndex: (int index) {\n              /// don't update when index is logout\n              if (index != 2) {\n                context.read<MainCubit>().updateIndex(index, null);\n              }\n\n              /// hide navigation drawer\n              _scaffoldKey.currentState?.openEndDrawer();\n            },\n            onLogoutPressed: () => showDialog(\n              context: context,\n              builder: (_) => AlertDialog(\n                title: Text(\n                  Strings.of(context)!.logout,\n                  style: Theme.of(context).textTheme.bodyLarge?.copyWith(\n                    color: Theme.of(context).extension<LzyctColors>()!.red,\n                  ),\n                ),\n                content: Text(\n                  Strings.of(context)!.logoutDesc,\n                  style: Theme.of(context).textTheme.bodyMedium,\n                ),\n                actions: [\n                  TextButton(\n                    onPressed: () => context.pop(),\n                    child: Text(\n                      Strings.of(context)!.cancel,\n                      style: Theme.of(context).textTheme.bodyMedium?.copyWith(\n                        color: Theme.of(context).hintColor,\n                      ),\n                    ),\n                  ),\n                  BlocListener<LogoutCubit, LogoutState>(\n                    listener: (ctx, state) => switch (state) {\n                      LogoutStateLoading() => ctx.show(),\n                      LogoutStateFailure(:final message) => (() {\n                        ctx.dismiss();\n                        message.toToastError(context);\n                      })(),\n                      LogoutStateSuccess(:final message) => (() {\n                        ctx.dismiss();\n                        message.toToastSuccess(context);\n                        context.goNamed(Routes.root.name);\n                      })(),\n                    },\n                    child: TextButton(\n                      onPressed: () {\n                        Navigator.pop(context);\n                        context.read<LogoutCubit>().postLogout();\n                      },\n                      child: Text(\n                        Strings.of(context)!.yes,\n                        style: Theme.of(context).textTheme.bodyMedium?.copyWith(\n                          color: Theme.of(\n                            context,\n                          ).extension<LzyctColors>()!.red,\n                        ),\n                      ),\n                    ),\n                  ),\n                ],\n              ),\n            ),\n          ),\n          //coverage:ignore-end\n        ),\n      ),\n      child: widget.child,\n    ),\n  );\n\n  PreferredSize _appBar() => PreferredSize(\n    preferredSize: const Size.fromHeight(kToolbarHeight),\n    child: AppBar(\n      automaticallyImplyLeading: false,\n      centerTitle: true,\n      title: BlocBuilder<MainCubit, MainState>(\n        builder: (_, state) => Text(switch (state) {\n          MainStateLoading() => '-',\n          MainStateSuccess(:final data) => data?.title ?? '-',\n        }, style: Theme.of(context).textTheme.titleLarge),\n      ),\n      leading: IconButton(\n        icon: Icon(Icons.sort, size: Dimens.space24, semanticLabel: 'Menu'),\n        //coverage:ignore-start\n        onPressed: () => _scaffoldKey.currentState?.openDrawer(),\n        //coverage:ignore-end\n      ),\n      actions: const [\n        /// Notification on Dashboard\n        ButtonNotification(),\n      ],\n    ),\n  );\n}\n"
  },
  {
    "path": "lib/features/general/pages/main/menu_drawer.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:go_router/go_router.dart';\n\nclass MenuDrawer extends StatelessWidget {\n  const MenuDrawer({\n    required this.dataMenu,\n    required this.currentIndex,\n    required this.onLogoutPressed,\n    super.key,\n  });\n\n  final List<DataHelper> dataMenu;\n  final Function(int) currentIndex;\n  final VoidCallback onLogoutPressed;\n\n  @override\n  Widget build(BuildContext context) => Drawer(\n      child: Column(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        mainAxisSize: MainAxisSize.min,\n        children: [\n          Container(\n            width: context.widthInPercent(100),\n            height: Dimens.header,\n            padding: EdgeInsets.symmetric(horizontal: Dimens.space16),\n            color: Theme.of(context).extension<LzyctColors>()!.banner,\n            child: SafeArea(\n              child: BlocBuilder<UserCubit, UserState>(\n                builder: (_, state) => switch (state) {\n                  UserStateLoading() => const Loading(),\n                  UserStateFailure(:final message) => Center(\n                    child: Text(message),\n                  ),\n                  UserStateSuccess(:final data) => Row(\n                    children: [\n                      CircleImage(\n                        url: data?.avatar ?? '',\n                        size: Dimens.profilePicture,\n                      ),\n                      const SpacerH(),\n                      Expanded(\n                        child: Column(\n                          crossAxisAlignment: CrossAxisAlignment.start,\n                          mainAxisAlignment: MainAxisAlignment.center,\n                          children: [\n                            Text(\n                              \"${data?.name ?? \"\"} ${data?.isVerified ?? false ? \"✅\" : \"\"}\",\n                              style: Theme.of(context).textTheme.titleLargeBold\n                                  ?.copyWith(\n                                    color: Theme.of(\n                                      context,\n                                    ).extension<LzyctColors>()!.subtitle,\n                                  ),\n                            ),\n                            Text(\n                              data?.email ?? '',\n                              style: Theme.of(context).textTheme.bodySmall\n                                  ?.copyWith(\n                                    color: Theme.of(\n                                      context,\n                                    ).extension<LzyctColors>()!.subtitle,\n                                  ),\n                            ),\n                          ],\n                        ),\n                      ),\n                    ],\n                  ),\n                },\n              ),\n            ),\n          ),\n          const SpacerV(),\n          Expanded(\n            child: SingleChildScrollView(\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                mainAxisSize: MainAxisSize.min,\n                children: dataMenu\n                    .map<Widget>(\n                      (value) => SizedBox(\n                        width: double.maxFinite,\n                        child: InkWell(\n                          onTap: () {\n                            for (final menu in dataMenu) {\n                              menu.isSelected = menu.title == value.title;\n\n                              if (value.title != null) {\n                                currentIndex(dataMenu.indexOf(value));\n                              }\n                            }\n\n                            _selectedPage(context, value.title!);\n                          },\n                          child: Padding(\n                            padding: EdgeInsets.symmetric(\n                              vertical: Dimens.space12,\n                              horizontal: Dimens.space24,\n                            ),\n                            child: Text(\n                              value.title!,\n                              style: Theme.of(context).textTheme.bodyLarge,\n                            ),\n                          ),\n                        ),\n                      ),\n                    )\n                    .toList(),\n              ),\n            ),\n          ), //\n          const SpacerH(),\n        ],\n      ),\n    );\n\n  void _selectedPage(BuildContext context, String title) {\n    //Update page from selected Page\n    if (title == Strings.of(context)!.settings) {\n      context.goNamed(Routes.settings.name);\n    } else if (title == Strings.of(context)!.dashboard) {\n      context.goNamed(Routes.dashboard.name);\n    } else if (title == Strings.of(context)!.logout) {\n      onLogoutPressed.call();\n    }\n  }\n}\n"
  },
  {
    "path": "lib/features/general/pages/pages.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'main/main.dart';\nexport 'settings/settings.dart';\nexport 'splashscreen/splashscreen.dart';\n"
  },
  {
    "path": "lib/features/general/pages/settings/cubit/cubit.dart",
    "content": "export 'settings_cubit.dart';\n"
  },
  {
    "path": "lib/features/general/pages/settings/cubit/settings_cubit.dart",
    "content": "import 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\n\nclass SettingsCubit extends Cubit<DataHelper> with MainBoxMixin {\n  SettingsCubit() : super(DataHelper(type: 'en'));\n\n  void updateTheme(ActiveTheme activeTheme) {\n    addData(MainBoxKeys.theme, activeTheme.name);\n    emit(\n      DataHelper(\n        activeTheme: activeTheme,\n        type: getData(MainBoxKeys.locale) ?? 'en',\n      ),\n    );\n  }\n\n  void updateLanguage(String type) {\n    /// Update locale code\n    addData(MainBoxKeys.locale, type);\n    emit(DataHelper(type: type, activeTheme: getActiveTheme()));\n  }\n\n  ActiveTheme getActiveTheme() {\n    final activeTheme = ActiveTheme.values.singleWhere(\n      (element) =>\n          element.name ==\n          (getData(MainBoxKeys.theme) ?? ActiveTheme.system.name),\n    );\n    emit(\n      DataHelper(\n        activeTheme: activeTheme,\n        type: getData(MainBoxKeys.locale) ?? 'en',\n      ),\n    );\n    return activeTheme;\n  }\n}\n"
  },
  {
    "path": "lib/features/general/pages/settings/settings.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'settings_page.dart';\n"
  },
  {
    "path": "lib/features/general/pages/settings/settings_page.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\n\nclass SettingsPage extends StatefulWidget {\n  const SettingsPage({super.key});\n\n  @override\n  _SettingsPageState createState() => _SettingsPageState();\n}\n\nclass _SettingsPageState extends State<SettingsPage> with MainBoxMixin {\n  late final ActiveTheme _selectedTheme = sl<SettingsCubit>().getActiveTheme();\n\n  late final List<DataHelper> _listLanguage = [\n    DataHelper(title: Constants.get.english, type: 'en'),\n    DataHelper(title: Constants.get.bahasa, type: 'id'),\n  ];\n  late DataHelper _selectedLanguage =\n      (getData(MainBoxKeys.locale) ?? 'en') == 'en'\n      ? _listLanguage[0]\n      : _listLanguage[1];\n\n  @override\n  Widget build(BuildContext context) => Parent(\n    child: SingleChildScrollView(\n      child: Padding(\n        padding: EdgeInsets.all(Dimens.space16),\n        child: Column(\n          children: [\n            DropDown<ActiveTheme>(\n              key: const Key('dropdown_theme'),\n              hint: Strings.of(context)!.chooseTheme,\n              value: _selectedTheme,\n              prefixIcon: Icon(\n                Icons.light,\n                color: Theme.of(context).extension<LzyctColors>()!.subtitle,\n              ),\n              items: ActiveTheme.values\n                  .map(\n                    (data) => DropdownMenuItem(\n                      value: data,\n                      child: Text(\n                        _getThemeName(data, context),\n                        style: Theme.of(context).textTheme.bodyMedium?.copyWith(\n                          color: Theme.of(\n                            context,\n                          ).extension<LzyctColors>()!.subtitle,\n                        ),\n                      ),\n                    ),\n                  )\n                  .toList(),\n              onChanged: (value) {\n                /// Reload theme\n                context.read<SettingsCubit>().updateTheme(\n                  value ?? ActiveTheme.system,\n                );\n              },\n            ),\n\n            /// Language\n            DropDown<DataHelper>(\n              key: const Key('dropdown_language'),\n              hint: Strings.of(context)!.chooseLanguage,\n              value: _selectedLanguage,\n              prefixIcon: Icon(\n                Icons.language_outlined,\n                color: Theme.of(context).extension<LzyctColors>()!.subtitle,\n              ),\n              items: _listLanguage\n                  .map(\n                    (data) => DropdownMenuItem(\n                      value: data,\n                      child: Text(\n                        data.title ?? '-',\n                        style: Theme.of(context).textTheme.bodyMedium?.copyWith(\n                          color: Theme.of(\n                            context,\n                          ).extension<LzyctColors>()!.subtitle,\n                        ),\n                      ),\n                    ),\n                  )\n                  .toList(),\n              onChanged: (DataHelper? value) {\n                _selectedLanguage = value ?? _listLanguage[0];\n\n                /// Reload theme\n                if (!mounted) {\n                  return;\n                }\n                context.read<SettingsCubit>().updateLanguage(\n                  value?.type ?? 'en',\n                );\n              },\n            ),\n          ],\n        ),\n      ),\n    ),\n  );\n\n  String _getThemeName(ActiveTheme activeTheme, BuildContext context) {\n    if (activeTheme == ActiveTheme.system) {\n      return Strings.of(context)!.themeSystem;\n    } else if (activeTheme == ActiveTheme.dark) {\n      return Strings.of(context)!.themeDark;\n    } else {\n      return Strings.of(context)!.themeLight;\n    }\n  }\n}\n"
  },
  {
    "path": "lib/features/general/pages/splashscreen/cubit/cubit.dart",
    "content": "export 'general_token_cubit.dart';\n"
  },
  {
    "path": "lib/features/general/pages/splashscreen/cubit/general_token_cubit.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'general_token_cubit.freezed.dart';\n\nclass GeneralTokenCubit extends Cubit<GeneralTokenState> {\n  GeneralTokenCubit(this._postGeneralToken) : super(const GeneralTokenStateLoading());\n\n  final PostGeneralToken _postGeneralToken;\n\n  Future<void> generalToken(GeneralTokenParams params) async {\n    emit(const GeneralTokenStateLoading());\n    final data = await _postGeneralToken.call(params);\n\n    data.fold(\n      (l) {\n        if (l is ServerFailure) {\n          emit(GeneralTokenStateFailure(l.message ?? ''));\n        }\n      },\n      (r) => emit(GeneralTokenStateSuccess(r.token)),\n    );\n  }\n}\n@freezed\nsealed class GeneralTokenState with _$GeneralTokenState {\n  const factory GeneralTokenState.loading() = GeneralTokenStateLoading;\n\n  const factory GeneralTokenState.success(String? data) = GeneralTokenStateSuccess;\n\n  const factory GeneralTokenState.failure(String message) = GeneralTokenStateFailure;\n}\n"
  },
  {
    "path": "lib/features/general/pages/splashscreen/splash_screen_page.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:go_router/go_router.dart';\n\nclass SplashScreenPage extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) => Parent(\n      child: BlocListener<GeneralTokenCubit, GeneralTokenState>(\n        //coverage:ignore-start\n        listener: (context, state) => {\n          if (state is GeneralTokenStateSuccess)\n            {context.goNamed(Routes.root.name)}\n        },\n        //coverage:ignore-end\n        child: ColoredBox(\n          color: Theme.of(context).extension<LzyctColors>()!.background!,\n          child: Center(\n            child: Image.asset(\n              Theme.of(context).brightness == Brightness.dark\n                  ? Images.icLauncherDark\n                  : Images.icLauncher,\n              width: context.widthInPercent(55),\n            ),\n          ),\n        ),\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/features/general/pages/splashscreen/splashscreen.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'splash_screen_page.dart';\n"
  },
  {
    "path": "lib/features/users/data/data.dart",
    "content": "export 'datasources/datasources.dart';\nexport 'models/models.dart';\nexport 'repositories/repositories.dart';\n"
  },
  {
    "path": "lib/features/users/data/datasources/datasources.dart",
    "content": "export 'user_remote_datasources.dart';\n"
  },
  {
    "path": "lib/features/users/data/datasources/user_remote_datasources.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\n\nabstract class UsersRemoteDatasource {\n  Future<Either<Failure, UsersResponse>> users(UsersParams userParams);\n\n  Future<Either<Failure, UserResponse>> user();\n}\n\nclass UsersRemoteDatasourceImpl implements UsersRemoteDatasource {\n  final DioClient _client;\n\n  UsersRemoteDatasourceImpl(this._client);\n\n  @override\n  Future<Either<Failure, UsersResponse>> users(UsersParams userParams) async {\n    final response = await _client.getRequest(\n      ListAPI.users,\n      queryParameters: userParams.toJson(),\n      converter: (response) =>\n          UsersResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    return response;\n  }\n\n  @override\n  Future<Either<Failure, UserResponse>> user() async {\n    final response = await _client.getRequest(\n      ListAPI.user,\n      converter: (response) =>\n          UserResponse.fromJson(response as Map<String, dynamic>),\n    );\n\n    return response;\n  }\n}\n"
  },
  {
    "path": "lib/features/users/data/models/models.dart",
    "content": "export 'user_response.dart';\nexport 'users_response.dart';\n"
  },
  {
    "path": "lib/features/users/data/models/user_response.dart",
    "content": "import 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'user_response.freezed.dart';\npart 'user_response.g.dart';\n\n@freezed\nsealed class UserResponse with _$UserResponse {\n  const factory UserResponse({\n    @JsonKey(name: 'diagnostic') Diagnostic? diagnostic,\n    @JsonKey(name: 'data') DataUser? data,\n  }) = _UserResponse;\n\n  const UserResponse._();\n\n  User toEntity() => User(\n        name: data?.name,\n        email: data?.email,\n        avatar: data?.photo,\n        isVerified: data?.verified,\n        updatedAt: data?.updatedAt,\n      );\n\n  factory UserResponse.fromJson(Map<String, dynamic> json) =>\n      _$UserResponseFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/users/data/models/users_response.dart",
    "content": "import 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'users_response.freezed.dart';\npart 'users_response.g.dart';\n\n@freezed\nsealed class UsersResponse with _$UsersResponse {\n  const factory UsersResponse({\n    @JsonKey(name: 'diagnostic') Diagnostic? diagnostic,\n    @JsonKey(name: 'data') List<DataUser>? data,\n    @JsonKey(name: 'page') Page? page,\n  }) = _UsersResponse;\n\n  const UsersResponse._();\n\n  Users toEntity() => Users(\n        users: data\n            ?.map(\n              (data) => User(\n                name: data.name,\n                email: data.email,\n                avatar: data.photo,\n                isVerified: data.verified,\n                updatedAt: data.updatedAt,\n              ),\n            )\n            .toList(),\n        currentPage: page?.currentPage,\n        lastPage: page?.lastPage,\n      );\n\n  factory UsersResponse.fromJson(Map<String, dynamic> json) =>\n      _$UsersResponseFromJson(json);\n}\n\n@freezed\nsealed class DataUser with _$DataUser {\n  const factory DataUser({\n    @JsonKey(name: 'id') String? id,\n    @JsonKey(name: 'name') String? name,\n    @JsonKey(name: 'email') String? email,\n    @JsonKey(name: 'photo') String? photo,\n    @JsonKey(name: 'verified') bool? verified,\n    @JsonKey(name: 'createdAt') String? createdAt,\n    @JsonKey(name: 'updatedAt') String? updatedAt,\n  }) = _DataUser;\n\n  factory DataUser.fromJson(Map<String, dynamic> json) =>\n      _$DataUserFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/users/data/repositories/repositories.dart",
    "content": "export 'users_repository_impl.dart';\n"
  },
  {
    "path": "lib/features/users/data/repositories/users_repository_impl.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\n\nclass UsersRepositoryImpl implements UsersRepository {\n  /// Data Source\n  final UsersRemoteDatasource usersRemoteDatasource;\n\n  const UsersRepositoryImpl(this.usersRemoteDatasource);\n\n  @override\n  Future<Either<Failure, Users>> users(UsersParams usersParams) async {\n    final response = await usersRemoteDatasource.users(usersParams);\n\n    return response.fold(\n      (failure) => Left(failure),\n      (usersResponse) {\n        if (usersResponse.data?.isEmpty ?? true) {\n          return Left(NoDataFailure()); //coverage:ignore-line\n        }\n        return Right(usersResponse.toEntity());\n      },\n    );\n  }\n\n  @override\n  Future<Either<Failure, User>> user() async {\n    final response = await usersRemoteDatasource.user();\n\n    return response.fold(\n      (failure) => Left(failure),\n      (userResponse) => Right(userResponse.toEntity()),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/features/users/domain/domain.dart",
    "content": "export 'entities/entities.dart';\nexport 'repositories/repositories.dart';\nexport 'usecases/usecases.dart';\n"
  },
  {
    "path": "lib/features/users/domain/entities/entities.dart",
    "content": "export 'users.dart';\n"
  },
  {
    "path": "lib/features/users/domain/entities/users.dart",
    "content": "import 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'users.freezed.dart';\n\n@freezed\nsealed class Users with _$Users {\n  const factory Users({\n    List<User>? users,\n    int? currentPage,\n    int? lastPage,\n  }) = _Users;\n}\n\n@freezed\nsealed class User with _$User {\n  const factory User({\n    String? name,\n    String? avatar,\n    String? email,\n    bool? isVerified,\n    String? updatedAt,\n  }) = _User;\n}\n"
  },
  {
    "path": "lib/features/users/domain/repositories/repositories.dart",
    "content": "export 'users_repository.dart';\n"
  },
  {
    "path": "lib/features/users/domain/repositories/users_repository.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\n\nabstract class UsersRepository {\n  Future<Either<Failure, Users>> users(UsersParams usersParams);\n\n  Future<Either<Failure, User>> user();\n}\n"
  },
  {
    "path": "lib/features/users/domain/usecases/get_user.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\n\nclass GetUser extends UseCase<User, NoParams> {\n  final UsersRepository _repo;\n\n  // coverage:ignore-start\n  GetUser(this._repo);\n\n  @override\n  Future<Either<Failure, User>> call(NoParams _) => _repo.user();\n  // coverage:ignore-end\n}\n"
  },
  {
    "path": "lib/features/users/domain/usecases/get_users.dart",
    "content": "import 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'get_users.freezed.dart';\npart 'get_users.g.dart';\n\nclass GetUsers extends UseCase<Users, UsersParams> {\n  final UsersRepository _repo;\n\n  GetUsers(this._repo);\n\n  @override\n  Future<Either<Failure, Users>> call(UsersParams params) =>\n      _repo.users(params);\n}\n\n@freezed\nsealed class UsersParams with _$UsersParams {\n  const factory UsersParams({@Default(1) int page}) = _UsersParams;\n\n  factory UsersParams.fromJson(Map<String, dynamic> json) =>\n      _$UsersParamsFromJson(json);\n}\n"
  },
  {
    "path": "lib/features/users/domain/usecases/usecases.dart",
    "content": "export 'get_user.dart';\nexport 'get_users.dart';\n"
  },
  {
    "path": "lib/features/users/pages/dashboard/cubit/cubit.dart",
    "content": "export 'users_cubit.dart';\n"
  },
  {
    "path": "lib/features/users/pages/dashboard/cubit/users_cubit.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'users_cubit.freezed.dart';\n\nclass UsersCubit extends Cubit<UsersState> {\n  UsersCubit(this._getUser) : super(const UsersStateLoading());\n\n  int currentPage = 1;\n  int lastPage = 1;\n  final List<User> users = [];\n\n  final GetUsers _getUser;\n\n  Future<void> refresh() async {\n    /// reset data\n    users.clear();\n\n    /// reset page\n    currentPage = 1;\n    lastPage = 1;\n\n    /// fetch data\n    await fetchUsers(UsersParams(page: currentPage));\n  }\n\n  Future<void> nextPage() async {\n    if (currentPage < lastPage) {\n      currentPage++;\n      await fetchUsers(UsersParams(page: currentPage));\n    }\n  }\n\n  Future<void> fetchUsers(UsersParams usersParams) async {\n    if (currentPage == 1) {\n      emit(const UsersStateLoading());\n    }\n\n    final data = await _getUser.call(usersParams);\n    data.fold(\n      (l) {\n        if (l is ServerFailure) {\n          emit(UsersStateFailure(l.message ?? ''));\n        } else if (l is NoDataFailure) {\n          emit(const UsersStateEmpty());\n        }\n      },\n      (r) {\n        users.addAll(r.users ?? []);\n        currentPage = r.currentPage ?? 1;\n        lastPage = r.lastPage ?? 1;\n\n        final updatedUsers = Users(\n          currentPage: currentPage,\n          lastPage: lastPage,\n          users: users,\n        );\n\n        if (currentPage != 1) {\n          emit(const UsersStateInitial());\n        }\n        emit(UsersStateSuccess(updatedUsers));\n      },\n    );\n  }\n}\n\n@freezed\nsealed class UsersState with _$UsersState {\n  const factory UsersState.loading() = UsersStateLoading;\n\n  const factory UsersState.initial() = UsersStateInitial;\n\n  const factory UsersState.success(Users data) = UsersStateSuccess;\n\n  const factory UsersState.failure(String message) = UsersStateFailure;\n\n  const factory UsersState.empty() = UsersStateEmpty;\n}\n"
  },
  {
    "path": "lib/features/users/pages/dashboard/dashboard.dart",
    "content": "export 'cubit/cubit.dart';\nexport 'dashboard_page.dart';\n"
  },
  {
    "path": "lib/features/users/pages/dashboard/dashboard_page.dart",
    "content": "import 'package:cached_network_image/cached_network_image.dart';\nimport 'package:flutter/cupertino.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\n\nclass DashboardPage extends StatefulWidget {\n  const DashboardPage({super.key});\n\n  @override\n  State<DashboardPage> createState() => _DashboardPageState();\n}\n\nclass _DashboardPageState extends State<DashboardPage> {\n  late final ScrollController _scrollController = ScrollController()\n    ..addListener(() {\n      //coverage:ignore-start\n      if (_scrollController.position.atEdge &&\n          _scrollController.position.pixels != 0) {\n        context.read<UsersCubit>().nextPage();\n      }\n      //coverage:ignore-end\n    });\n\n  @override\n  Widget build(BuildContext context) => Parent(\n      child: RefreshIndicator(\n        color: Theme.of(context).extension<LzyctColors>()!.pink,\n        backgroundColor: Theme.of(context).extension<LzyctColors>()!.background,\n        onRefresh: () => context.read<UsersCubit>().refresh(),\n        child: BlocBuilder<UsersCubit, UsersState>(\n          builder: (_, state) => switch (state) {\n            UsersStateLoading() => const Center(child: Loading()),\n            UsersStateInitial() => const SizedBox.shrink(),\n            UsersStateSuccess(:final data) => ListView.builder(\n                controller: _scrollController,\n                physics: const AlwaysScrollableScrollPhysics(),\n                itemCount: data.currentPage == data.lastPage\n                    ? data.users?.length //coverage:ignore-line\n                    : ((data.users?.length ?? 0) + 1),\n                padding: EdgeInsets.symmetric(vertical: Dimens.space16),\n                itemBuilder: (_, index) => index < (data.users?.length ?? 0)\n                      ? userItem(data.users![index])\n                      : Padding(\n                          padding: EdgeInsets.all(Dimens.space16),\n                          child: const Center(\n                            child: CupertinoActivityIndicator(),\n                          ),\n                        ),\n              ),\n            UsersStateFailure(:final message) =>\n              Center(child: Empty(errorMessage: message)),\n            UsersStateEmpty() => const Center(child: Empty()),\n          },\n        ),\n      ),\n    );\n\n  Container userItem(User user) => Container(\n      decoration: BoxDecorations(context).card,\n      margin: EdgeInsets.symmetric(\n        vertical: Dimens.space12,\n        horizontal: Dimens.space16,\n      ),\n      child: Row(\n        children: [\n          ClipRRect(\n            borderRadius: BorderRadius.only(\n              topLeft: Radius.circular(Dimens.space8),\n              bottomLeft: Radius.circular(Dimens.space8),\n            ),\n            child: CachedNetworkImage(\n              imageUrl: user.avatar ?? '',\n              width: Dimens.profilePicture,\n              height: Dimens.profilePicture,\n              fit: BoxFit.cover,\n            ),\n          ),\n          SpacerH(value: Dimens.space16),\n          Expanded(\n            child: Column(\n              crossAxisAlignment: CrossAxisAlignment.start,\n              children: [\n                Text(\n                  user.name ?? '',\n                  style: Theme.of(context).textTheme.titleLargeBold,\n                ),\n                Text(\n                  user.email ?? '',\n                  style: Theme.of(context)\n                      .textTheme\n                      .bodySmall\n                      ?.copyWith(color: Theme.of(context).hintColor),\n                ),\n                const SpacerV(),\n                Row(\n                  children: [\n                    Text(\n                      Strings.of(context)!.lastUpdate,\n                      style: Theme.of(context)\n                          .textTheme\n                          .labelSmall\n                          ?.copyWith(color: Theme.of(context).hintColor),\n                    ),\n                    Flexible(\n                      child: Text(\n                        (user.updatedAt ?? '').toStringDateAlt(),\n                        style: Theme.of(context)\n                            .textTheme\n                            .labelSmall\n                            ?.copyWith(color: Theme.of(context).hintColor),\n                        textAlign: TextAlign.end,\n                      ),\n                    ),\n                  ],\n                ),\n              ],\n            ),\n          ),\n        ],\n      ),\n    );\n}\n"
  },
  {
    "path": "lib/features/users/pages/pages.dart",
    "content": "export 'dashboard/dashboard.dart';\n"
  },
  {
    "path": "lib/features/users/users.dart",
    "content": "export 'data/data.dart';\nexport 'domain/domain.dart';\nexport 'pages/pages.dart';\n"
  },
  {
    "path": "lib/lzyct_app.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/helper/helper.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:oktoast/oktoast.dart';\n\nclass LzyctApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    SystemChrome.setSystemUIOverlayStyle(\n      const SystemUiOverlayStyle(statusBarColor: Colors.transparent),\n    );\n\n    log.d(const String.fromEnvironment('ENV'));\n    return MultiBlocProvider(\n      providers: [\n        BlocProvider(create: (_) => sl<SettingsCubit>()..getActiveTheme()),\n        BlocProvider(create: (_) => sl<AuthCubit>()),\n        BlocProvider(create: (_) => sl<LogoutCubit>()),\n      ],\n      child: OKToast(\n        child: ScreenUtilInit(\n          /// Set screen size to make responsive\n          /// Almost all device\n          designSize: const Size(375, 667),\n          minTextAdapt: true,\n          splitScreenMode: true,\n          builder: (context, _) {\n            /// Pass context to appRoute\n            AppRoute.setStream(context);\n\n            return BlocBuilder<SettingsCubit, DataHelper>(\n              builder: (_, data) => MaterialApp.router(\n                routerConfig: AppRoute.router,\n                localizationsDelegates: const [\n                  Strings.delegate,\n                  GlobalMaterialLocalizations.delegate,\n                  GlobalWidgetsLocalizations.delegate,\n                  GlobalCupertinoLocalizations.delegate,\n                ],\n                debugShowCheckedModeBanner: false,\n                builder: (BuildContext context, Widget? child) {\n                  final MediaQueryData data = MediaQuery.of(context);\n\n                  return MediaQuery(\n                    data: data.copyWith(\n                      textScaler: TextScaler.noScaling,\n                      alwaysUse24HourFormat: true,\n                    ),\n                    child: child!,\n                  );\n                },\n                title: Constants.get.appName,\n                theme: themeLight(context),\n                darkTheme: themeDark(context),\n                locale: Locale(data.type ?? 'en'),\n                supportedLocales: L10n.all,\n                themeMode: data.activeTheme.mode,\n              ),\n            );\n          },\n        ),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "lib/main.dart",
    "content": "import 'dart:async';\n\nimport 'package:firebase_crashlytics/firebase_crashlytics.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/lzyct_app.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\n\nvoid main() {\n  runZonedGuarded(\n    /// Lock device orientation to portrait\n    () async {\n      WidgetsFlutterBinding.ensureInitialized();\n\n      /// Register Service locator\n      await serviceLocator();\n      await FirebaseServices.init();\n\n      return SystemChrome.setPreferredOrientations([\n        DeviceOrientation.portraitUp,\n        DeviceOrientation.portraitDown,\n      ]).then((_) => runApp(LzyctApp()));\n    },\n    (error, stackTrace) =>\n        FirebaseCrashlytics.instance.recordError(error, stackTrace),\n  );\n}\n"
  },
  {
    "path": "lib/utils/ext/context.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\n\nextension ContextExtensions on BuildContext {\n  double widthInPercent(double percent) {\n    final toDouble = percent / 100;\n\n    return MediaQuery.of(this).size.width * toDouble;\n  }\n\n  double heightInPercent(double percent) {\n    final toDouble = percent / 100;\n\n    return MediaQuery.of(this).size.height * toDouble;\n  }\n\n  //Start Loading Dialog\n  static late BuildContext ctx;\n\n  Future<void> show() => showDialog(\n        context: this,\n        barrierDismissible: false,\n        builder: (c) {\n          ctx = c;\n\n          return PopScope(\n            canPop: false,\n            child: Material(\n              color: Colors.transparent,\n              child: Center(\n                child: Container(\n                  decoration: BoxDecoration(\n                    color: Theme.of(c).extension<LzyctColors>()!.background,\n                    borderRadius: BorderRadius.circular(Dimens.cornerRadius),\n                  ),\n                  margin: EdgeInsets.symmetric(horizontal: Dimens.space30),\n                  padding: EdgeInsets.all(Dimens.space24),\n                  child: const Loading(),\n                ),\n              ),\n            ),\n          );\n        },\n      );\n\n  void dismiss() {\n    try {\n      Navigator.pop(ctx);\n    } catch (_) {}\n  }\n}\n"
  },
  {
    "path": "lib/utils/ext/ext.dart",
    "content": "export 'context.dart';\nexport 'map.dart';\nexport 'string.dart';\nexport 'text_theme.dart';\n"
  },
  {
    "path": "lib/utils/ext/map.dart",
    "content": "extension MapExtension on Map<String, bool> {\n  bool validate() {\n    bool isValid = isNotEmpty;\n    final values = this.values.toList();\n    for (final item in values) {\n      if (!item) {\n        isValid = false;\n        break;\n      }\n    }\n    return isValid;\n  }\n}\n"
  },
  {
    "path": "lib/utils/ext/string.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:intl/intl.dart';\nimport 'package:oktoast/oktoast.dart';\n\nextension StringExtension on String {\n  bool isValidEmail() => RegExp(\n      r'^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$',\n    ).hasMatch(this);\n\n  //https://github.com/ponnamkarthik/FlutterToast/issues/262\n  //coverage:ignore-start\n  void toToastError(BuildContext context, {bool isUnitTest = false}) {\n    try {\n      final message = isEmpty ? 'error' : this;\n\n      //dismiss before show toast\n      dismissAllToast(showAnim: true);\n\n      showToastWidget(\n        Toast(\n          bgColor: Theme.of(context).extension<LzyctColors>()!.red,\n          icon: Icons.error,\n          message: message,\n          textColor: Colors.white,\n        ),\n        dismissOtherToast: true,\n        position: ToastPosition.top,\n        duration: const Duration(seconds: 3),\n      );\n    } catch (e, stackTrace) {\n      if (!isUnitTest) {\n        FirebaseCrashLogger().nonFatalError(error: e, stackTrace: stackTrace);\n      }\n      log.e('error $e');\n    }\n  }\n\n  void toToastSuccess(BuildContext context, {bool isUnitTest = false}) {\n    try {\n      final message = isEmpty ? 'success' : this;\n\n      //dismiss before show toast\n      dismissAllToast(showAnim: true);\n\n      // showToast(msg)\n      showToastWidget(\n        Toast(\n          bgColor: Theme.of(context).extension<LzyctColors>()!.green,\n          icon: Icons.check_circle,\n          message: message,\n          textColor: Colors.white,\n        ),\n        dismissOtherToast: true,\n        position: ToastPosition.top,\n        duration: const Duration(seconds: 3),\n      );\n    } catch (e, stackTrace) {\n      if (!isUnitTest) {\n        FirebaseCrashLogger().nonFatalError(error: e, stackTrace: stackTrace);\n      }\n      log.e('$e');\n    }\n  }\n\n  void toToastLoading(BuildContext context, {bool isUnitTest = false}) {\n    try {\n      final message = isEmpty ? 'loading' : this;\n      //dismiss before show toast\n      dismissAllToast(showAnim: true);\n\n      showToastWidget(\n        Toast(\n          bgColor: Theme.of(context).extension<LzyctColors>()!.pink,\n          icon: Icons.info,\n          message: message,\n          textColor: Colors.white,\n        ),\n        dismissOtherToast: true,\n        position: ToastPosition.top,\n        duration: const Duration(seconds: 3),\n      );\n    } catch (e, stackTrace) {\n      if (!isUnitTest) {\n        FirebaseCrashLogger().nonFatalError(error: e, stackTrace: stackTrace);\n      }\n      log.e('$e');\n    }\n  }\n\n  //coverage:ignore-end\n\n  String toStringDateAlt({bool isShort = false, bool isToLocal = true}) {\n    try {\n      DateTime object;\n      if (isToLocal) {\n        object = DateTime.parse(this).toLocal();\n      } else {\n        object = DateTime.parse(this);\n      }\n\n      return DateFormat(\"dd ${isShort ? \"MMM\" : \"MMMM\"} yyyy HH:mm\", 'id')\n          .format(object);\n    } catch (_) {\n      return '-';\n    }\n  }\n}\n"
  },
  {
    "path": "lib/utils/ext/text_theme.dart",
    "content": "import 'package:flutter/material.dart';\n\nextension TextThemeExtension on TextTheme {\n  TextStyle? get titleLargeBold =>\n      titleLarge?.copyWith(fontWeight: FontWeight.bold);\n\n  TextStyle? get bodyMedium500 =>\n      bodyMedium?.copyWith(fontWeight: FontWeight.w500);\n}\n"
  },
  {
    "path": "lib/utils/helper/common.dart",
    "content": "import 'dart:developer' as developer;\n\nimport 'package:logger/logger.dart';\n\n//coverage:ignore-start\nfinal log = Logger(\n  printer: PrettyPrinter(\n    methodCount: 1,\n    lineLength: 110,\n  ),\n  output: MyConsoleOutput(),\n);\n\nclass MyConsoleOutput extends ConsoleOutput {\n  @override\n  void output(OutputEvent event) => event.lines.forEach(developer.log);\n}\n//coverage:ignore-end\n"
  },
  {
    "path": "lib/utils/helper/constant.dart",
    "content": "class Constants {\n  Constants._();\n\n  static Constants get = Constants._();\n\n  String appName = 'Flutter Auth App';\n  String english = 'English';\n  String bahasa = 'Bahasa';\n\n  String imagePlaceHolder =\n      'https://cdn.dribbble.com/users/5478575/screenshots/12108011/media/17e913f849a16ea1f349b73afa04bbf9.jpg?compress=1&resize=400x300';\n}\n"
  },
  {
    "path": "lib/utils/helper/data_helper.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:freezed_annotation/freezed_annotation.dart';\n\npart 'data_helper.freezed.dart';\n\n@unfreezed\nabstract class DataHelper with _$DataHelper {\n  factory DataHelper({\n    String? title,\n    String? desc,\n    String? iconPath,\n    IconData? icon,\n    String? url,\n    String? type,\n    int? id,\n    @Default(false) bool isSelected,\n    @Default(ActiveTheme.light) ActiveTheme activeTheme,\n  }) = _DataHelper;\n}\n"
  },
  {
    "path": "lib/utils/helper/debouncer.dart",
    "content": "import 'dart:async';\n\nimport 'package:flutter/foundation.dart';\n\n/// Use debouncer to detect user not in typing\nclass Debouncer {\n  Duration? duration;\n  VoidCallback? action;\n  Timer? _timer;\n\n  Debouncer({this.duration});\n\n  void run(VoidCallback action) {\n    if (_timer != null) {\n      _timer!.cancel();\n    }\n    _timer = Timer(duration ?? const Duration(milliseconds: 300), action);\n  }\n}\n"
  },
  {
    "path": "lib/utils/helper/go_router_refresh_stream.dart",
    "content": "import 'dart:async';\n\nimport 'package:flutter/material.dart';\n\nclass GoRouterRefreshStream extends ChangeNotifier {\n  GoRouterRefreshStream(List<Stream<dynamic>> streams) {\n    notifyListeners();\n    for (final stream in streams) {\n      stream.listen((dynamic _) => notifyListeners());\n    }\n  }\n\n  late final List<StreamSubscription<dynamic>> _subscriptions;\n\n  @override\n  void dispose() {\n    try {\n      for (final subscription in _subscriptions) {\n        subscription.cancel(); //coverage:ignore-line\n      }\n    } catch (_) {}\n    super.dispose();\n  }\n}\n"
  },
  {
    "path": "lib/utils/helper/helper.dart",
    "content": "export 'common.dart';\nexport 'constant.dart';\nexport 'data_helper.dart';\nexport 'debouncer.dart';\nexport 'go_router_refresh_stream.dart';\n"
  },
  {
    "path": "lib/utils/services/firebase/firebase.dart",
    "content": "export 'firebase_crashlogger.dart';\nexport 'firebase_options.dart';\nexport 'firebase_services.dart';\n"
  },
  {
    "path": "lib/utils/services/firebase/firebase_crashlogger.dart",
    "content": "import 'package:firebase_crashlytics/firebase_crashlytics.dart';\n\nmixin class FirebaseCrashLogger {\n  Future<void> nonFatalError({\n    required dynamic error,\n    required StackTrace stackTrace,\n  }) async {\n    await FirebaseCrashlytics.instance.recordError(error, stackTrace);\n  }\n}\n"
  },
  {
    "path": "lib/utils/services/firebase/firebase_options.dart",
    "content": "// File generated by FlutterFire CLI.\n// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members\nimport 'package:firebase_core/firebase_core.dart' show FirebaseOptions;\nimport 'package:flutter/foundation.dart'\n    show TargetPlatform, defaultTargetPlatform, kIsWeb;\n\n/// Default [FirebaseOptions] for use with your Firebase apps.\n///\n/// Example:\n/// ```dart\n/// import 'firebase_options.dart';\n/// // ...\n/// await Firebase.initializeApp(\n///   options: DefaultFirebaseOptionsStg.currentPlatform,\n/// );\n/// ```\nclass DefaultFirebaseOptions {\n  static FirebaseOptions get currentPlatform {\n    if (kIsWeb) {\n      throw UnsupportedError(\n        'DefaultFirebaseOptionsStg have not been configured for web - '\n        'you can reconfigure this by running the FlutterFire CLI again.',\n      );\n    }\n    switch (defaultTargetPlatform) {\n      case TargetPlatform.android:\n        return android;\n      case TargetPlatform.iOS:\n        return ios;\n      default:\n        throw UnsupportedError(\n          'DefaultFirebaseOptionsStg are not supported for this platform.',\n        );\n    }\n  }\n\n  static const FirebaseOptions android = FirebaseOptions(\n    apiKey: String.fromEnvironment('ANDROID_API_KEY'),\n    appId: String.fromEnvironment('ANDROID_APP_ID'),\n    messagingSenderId: String.fromEnvironment('ANDROID_SENDER_ID'),\n    projectId: String.fromEnvironment('ANDROID_PROJECT_ID'),\n    storageBucket: String.fromEnvironment('ANDROID_STORAGE_BUCKET'),\n  );\n\n  static const FirebaseOptions ios = FirebaseOptions(\n    apiKey: String.fromEnvironment('IOS_API_KEY'),\n    appId: String.fromEnvironment('IOS_APP_ID'),\n    messagingSenderId: String.fromEnvironment('IOS_SENDER_ID'),\n    projectId: String.fromEnvironment('IOS_PROJECT_ID'),\n    storageBucket: String.fromEnvironment('IOS_STORAGE_BUCKET'),\n    androidClientId: String.fromEnvironment('IOS_ANDROID_CLIENT_ID'),\n    iosClientId: String.fromEnvironment('IOS_IOS_CLIENT_ID'),\n    iosBundleId: String.fromEnvironment('IOS_BUNDLE_ID'),\n  );\n}\n"
  },
  {
    "path": "lib/utils/services/firebase/firebase_services.dart",
    "content": "import 'dart:isolate';\n\nimport 'package:firebase_core/firebase_core.dart';\nimport 'package:firebase_crashlytics/firebase_crashlytics.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\n\nmixin FirebaseServices {\n  static Future<void> init() async {\n    /// Initialize Firebase\n    await Firebase.initializeApp(\n      options: DefaultFirebaseOptions.currentPlatform,\n    );\n    // Pass all uncaught errors from the framework to Crashlytics.\n    // FlutterError.onError = FirebaseCrashlytics.instance.recordFlutterError;\n    await FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true);\n\n    /// Catch errors that happen outside of the Flutter context,\n    Isolate.current.addErrorListener(\n      RawReceivePort((List<dynamic> pair) async {\n        final List<dynamic> errorAndStacktrace = pair;\n        await FirebaseCrashlytics.instance.recordError(\n          errorAndStacktrace.first,\n          errorAndStacktrace.last as StackTrace,\n        );\n      }).sendPort,\n    );\n  }\n}\n"
  },
  {
    "path": "lib/utils/services/hive/hive.dart",
    "content": "export 'hive_adapters.dart';\nexport 'main_box.dart';\n"
  },
  {
    "path": "lib/utils/services/hive/hive_adapters.dart",
    "content": "import 'package:hive_ce/hive.dart';\n// part 'hive_adapters.g.dart';\n\n@GenerateAdapters([])\n// This is for code generation\n// ignore: unused_element\nvoid _() {}\n"
  },
  {
    "path": "lib/utils/services/hive/hive_adapters.g.yaml",
    "content": "# Generated by Hive CE\n# Manual modifications may be necessary for certain migrations\n# Check in to version control\nnextTypeId: 0\ntypes: {}\n"
  },
  {
    "path": "lib/utils/services/hive/main_box.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:hive_ce_flutter/hive_flutter.dart';\n\nenum ActiveTheme {\n  light(ThemeMode.light),\n  dark(ThemeMode.dark),\n  system(ThemeMode.system);\n\n  final ThemeMode mode;\n\n  const ActiveTheme(this.mode);\n}\n\nenum MainBoxKeys {\n  generalToken,\n  authToken,\n  refreshToken,\n  fcm,\n  language,\n  theme,\n  locale,\n  isLogin,\n}\n\nmixin class MainBoxMixin {\n  static late Box? mainBox;\n  static const _boxName = 'flutter_auth_app';\n\n  static Future<void> initHive(String prefixBox) async {\n    // Initialize hive (persistent database)\n    await Hive.initFlutter();\n    mainBox = await Hive.openBox('$prefixBox$_boxName');\n  }\n\n  Future<void> addData<T>(MainBoxKeys key, T value) async {\n    await mainBox?.put(key.name, value);\n  }\n\n  Future<void> removeData(MainBoxKeys key) async {\n    await mainBox?.delete(key.name);\n  }\n\n  T getData<T>(MainBoxKeys key) => mainBox?.get(key.name) as T;\n\n  Future<void> logoutBox() async {\n    /// Clear the box\n    await removeData(MainBoxKeys.isLogin);\n    await removeData(MainBoxKeys.authToken);\n  }\n}\n"
  },
  {
    "path": "lib/utils/services/services.dart",
    "content": "export 'firebase/firebase.dart';\nexport 'hive/hive.dart';\n"
  },
  {
    "path": "lib/utils/utils.dart",
    "content": "export 'ext/ext.dart';\nexport 'helper/helper.dart';\nexport 'services/services.dart';\n"
  },
  {
    "path": "maestro-prd/dashboard.yaml",
    "content": "appId: com.lazycatlabs.auths\n---\n- swipe:\n    direction: \"UP\"\n- swipe:\n    direction: \"UP\"\n- swipe:\n    direction: \"UP\""
  },
  {
    "path": "maestro-prd/login.yaml",
    "content": "appId: com.lazycatlabs.auths\n---\n- launchApp\n- tapOn: \"Email\"\n- inputText: \"mudassir@lazycatlabs.com\"\n- tapOn: \"Password\"\n- inputText: \"pass123\"\n- tapOn: \"LOGIN\"\n"
  },
  {
    "path": "maestro-prd/logout.yaml",
    "content": "appId: com.lazycatlabs.auths\n---\n- tapOn: \"Menu\"\n- tapOn: \"Logout\"\n- tapOn: \"Yes\""
  },
  {
    "path": "maestro-prd/main.yaml",
    "content": "appId: com.lazycatlabs.auths\n---\n- runFlow: \"login.yaml\"\n- runFlow: \"dashboard.yaml\"\n- runFlow: \"settings.yaml\"\n- runFlow: \"dashboard.yaml\"\n- runFlow: \"logout.yaml\"\n- runFlow: \"register.yaml\""
  },
  {
    "path": "maestro-prd/register.yaml",
    "content": "appId: com.lazycatlabs.auths\n---\n- tapOn: \"DON'T HAVE AN ACCOUNT?\"\n- tapOn: \"Name\"\n- inputText: \"Mudassir\"\n- tapOn: \"Email\"\n- inputText: \"mudassir@lazycatlabs.com\"\n- tapOn: \"password\\nPassword\"\n- inputText: \"pass123\"\n- tapOn:\n    point: \"50%,38%\"\n- tapOn: \"repeat_password\\nRepeat Password\"\n- inputText: \"pass123\"\n- tapOn:\n    point: \"50%,38%\"\n- tapOn: \"REGISTER\"\n"
  },
  {
    "path": "maestro-prd/settings.yaml",
    "content": "appId: com.lazycatlabs.auths\n---\n- tapOn: \"Menu\"\n- tapOn: \"Settings\"\n- tapOn: \"Theme System\"\n- tapOn: \"Theme Dark\"\n- tapOn: \"Theme Dark\"\n- tapOn: \"Theme Light\"\n- tapOn: \"Theme Light\"\n- tapOn: \"Theme Dark\"\n- tapOn: \"English\"\n- tapOn: \"Bahasa\"\n- tapOn: \"Bahasa\"\n- tapOn: \"English\"\n- tapOn: \"Menu\"\n- tapOn: \"Dashboard\""
  },
  {
    "path": "maestro-stg/dashboard.yaml",
    "content": "appId: com.lazycatlabs.auths.stg\n---\n- swipe:\n    direction: \"UP\"\n- swipe:\n    direction: \"UP\"\n- swipe:\n    direction: \"UP\""
  },
  {
    "path": "maestro-stg/login.yaml",
    "content": "appId: com.lazycatlabs.auths.stg\n---\n- launchApp\n- tapOn: \"Email\"\n- inputText: \"mudassir@lazycatlabs.com\"\n- tapOn: \"Password\"\n- inputText: \"pass123\"\n- tapOn: \"LOGIN\"\n"
  },
  {
    "path": "maestro-stg/logout.yaml",
    "content": "appId: com.lazycatlabs.auths.stg\n---\n- tapOn: \"Menu\"\n- tapOn: \"Logout\"\n- tapOn: \"Yes\""
  },
  {
    "path": "maestro-stg/main.yaml",
    "content": "appId: com.lazycatlabs.auths.stg\n---\n- runFlow: \"login.yaml\"\n- runFlow: \"dashboard.yaml\"\n- runFlow: \"settings.yaml\"\n- runFlow: \"dashboard.yaml\"\n- runFlow: \"logout.yaml\"\n- runFlow: \"register.yaml\"\n"
  },
  {
    "path": "maestro-stg/register.yaml",
    "content": "appId: com.lazycatlabs.auths.stg\n---\n- tapOn: \"DON'T HAVE AN ACCOUNT?\"\n- tapOn: \"Name\"\n- inputText: \"Mudassir\"\n- tapOn: \"Email\"\n- inputText: \"mudassir@lazycatlabs.com\"\n- tapOn: \"password\\nPassword\"\n- inputText: \"pass123\"\n- tapOn:\n    point: \"50%,38%\"\n- tapOn: \"repeat_password\\nRepeat Password\"\n- inputText: \"pass123\"\n- tapOn:\n    point: \"50%,38%\"\n- tapOn: \"REGISTER\"\n"
  },
  {
    "path": "maestro-stg/settings.yaml",
    "content": "appId: com.lazycatlabs.auths.stg\n---\n- tapOn: \"Menu\"\n- tapOn: \"Settings\"\n- tapOn: \"Theme System\"\n- tapOn: \"Theme Dark\"\n- tapOn: \"Theme Dark\"\n- tapOn: \"Theme Light\"\n- tapOn: \"Theme Light\"\n- tapOn: \"Theme Dark\"\n- tapOn: \"English\"\n- tapOn: \"Bahasa\"\n- tapOn: \"Bahasa\"\n- tapOn: \"English\"\n- tapOn: \"Menu\"\n- tapOn: \"Dashboard\"\n"
  },
  {
    "path": "pubspec.yaml",
    "content": "name: flutter_auth_app\ndescription: This is base for my project in flutter\n\n# The following line prevents the package from being accidentally published to\n# pub.dev using `pub publish`. This is preferred for private packages.\npublish_to: 'none' # Remove this line if you wish to publish to pub.dev\n\n# The following defines the version and build number for your app.\n# A version number is three numbers separated by dots, like 1.2.43\n# followed by an optional build number separated by a +.\n# Both the version and the builder number may be overridden in flutter\n# build by specifying --build-name and --build-number, respectively.\n# In Android, build-name is used as versionName while build-number used as versionCode.\n# Read more about Android versioning at https://developer.android.com/studio/publish/versioning\n# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.\n# Read more about iOS versioning at\n# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html\nversion: 1.0.0+1\n\nenvironment:\n  sdk: ^3.8.0\n\ndependencies:\n  flutter:\n    sdk: flutter\n  flutter_localizations:\n    sdk: flutter\n\n  # The following adds the Cupertino Icons font to your app.\n  # Use with the CupertinoIcons class for iOS style icons.\n  cupertino_icons: ^1.0.8\n\n  # Use as default SVG image loader, prefer use SVG as image asset\n  flutter_svg: ^2.2.1\n\n  # Functional programming thingies\n  dartz: ^0.10.1\n\n  # Use as Network Client\n  dio: ^5.9.0\n\n  # Use hive to save local data\n  hive_ce: ^2.12.0\n  hive_ce_flutter: ^2.3.2\n\n  # Use for Dependencies Injection\n  get_it: ^8.2.0\n\n  # Use for State Management with BLoC pattern\n  flutter_bloc: ^9.1.1\n\n\n  # Use for custom toast with Status, ex:Loading,Success,Failed\n  oktoast: ^3.4.0\n\n  # Use for responsive UI, set default size base on Mock Up\n  flutter_screenutil: ^5.9.3\n\n  cached_network_image: ^3.4.1\n\n  # logger\n  logger: ^2.6.1\n\n  # Firebase\n  firebase_core: ^4.1.0\n  firebase_analytics: ^12.0.1\n  firebase_crashlytics: ^5.0.1\n\n  # router\n  go_router: ^16.2.1\n\n  # Freezed\n  freezed_annotation: ^3.1.0\n  json_annotation: ^4.9.0\n\n  flutter_native_splash: ^2.4.6\n\n  intl: ^0.20.2\n\ndev_dependencies:\n  flutter_test:\n    sdk: flutter\n  flutter_launcher_icons: ^0.14.4\n  lint: ^2.8.0\n  flutter_lints: ^6.0.0\n  bloc_test: ^10.0.0\n  build_runner: ^2.8.0\n  http_mock_adapter: ^0.6.1\n\n  #Temporary using old version because error when generate build_runner\n  mockito: ^5.5.1\n\n  # Freezed\n  freezed: ^3.2.3\n  json_serializable: ^6.11.1\n\n  # hive generator\n  hive_ce_generator: ^1.9.5\n\n# TODO: Remove these overrides after packages are updated\ndependency_overrides:\n#  intl: ^0.20.2\n  analyzer: ^8.1.1\n\n\n# For information on the generic Dart part of this file, see the\n# following page: https://dart.dev/tools/pub/pubspec\n\n# The following section is specific to Flutter.\nflutter:\n\n  # The following line ensures that the Material Icons font is\n  # included with your app, so that you can use the icons in\n  # the material Icons class.\n  uses-material-design: true\n\n  # Enable the generation of the Flutter plugin registrant.\n  generate: true\n\n  # To add assets to your app, add an assets section, like this:\n  assets:\n    - assets/images/\n    - assets/fonts/\n\n  # An image asset can refer to one or more resolution-specific \"variants\", see\n  # https://flutter.dev/assets-and-images/#resolution-aware.\n\n  # For details regarding adding assets from package dependencies, see\n  # https://flutter.dev/assets-and-images/#from-packages\n\n  # To add custom fonts to your application, add a fonts section here,\n  # in this \"flutter\" section. Each entry in this list should have a\n  # \"family\" key with the font family name, and a \"fonts\" key with a\n  # list giving the asset and other descriptors for the font. For\n  # example:\n  fonts:\n    - family: Poppins\n      fonts:\n        - asset: assets/fonts/Poppins-Thin.ttf\n          weight: 100\n        - asset: assets/fonts/Poppins-ExtraLight.ttf\n          weight: 200\n        - asset: assets/fonts/Poppins-Light.ttf\n          weight: 300\n        - asset: assets/fonts/Poppins-Regular.ttf\n          weight: 400\n        - asset: assets/fonts/Poppins-Medium.ttf\n          weight: 500\n        - asset: assets/fonts/Poppins-SemiBold.ttf\n          weight: 600\n        - asset: assets/fonts/Poppins-Bold.ttf\n          weight: 700\n        - asset: assets/fonts/Poppins-ExtraBold.ttf\n          weight: 800\n        - asset: assets/fonts/Poppins-Black.ttf\n          weight: 900\n\n  #\n  # For details regarding fonts from package dependencies,\n  # see https://flutter.dev/custom-fonts/#from-packages\n"
  },
  {
    "path": "test/core/api/list_api_test.dart",
    "content": "import 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('ListAPI', () {\n    test('Auth endpoints', () {\n      expect(ListAPI.generalToken, equals('/v1/api/auth/general'));\n      expect(ListAPI.user, equals('/v1/api/user'));\n      expect(ListAPI.login, equals('/v1/api/auth/login'));\n      expect(ListAPI.logout, equals('/v1/api/auth/logout'));\n    });\n\n    test('User endpoints', () {\n      expect(ListAPI.users, equals('/v1/api/user/all'));\n    });\n  });\n}\n"
  },
  {
    "path": "test/core/app_route_test.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:flutter_auth_app/features/users/users.dart';\nimport 'package:flutter_auth_app/utils/services/hive/hive.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:go_router/go_router.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../helpers/fake_path_provider_platform.dart';\nimport '../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'app_route_test_');\n  });\n\n  test('Routes enum contains correct paths', () {\n    expect(Routes.root.path, equals('/'));\n    expect(Routes.splashScreen.path, equals('/splashscreen'));\n    expect(Routes.dashboard.path, equals('/dashboard'));\n    expect(Routes.settings.path, equals('/settings'));\n    expect(Routes.login.path, equals('/auth/login'));\n    expect(Routes.register.path, equals('/auth/register'));\n  });\n\n  test('Check AppRoute setStream', () {\n    final context = MockBuildContext();\n    AppRoute.setStream(context, isTest: true);\n    expect(AppRoute.context, equals(context));\n    expect(AppRoute.isUnitTest, equals(true));\n  });\n\n  test('Check AppRoute router', () {\n    expect(AppRoute.router, isA<GoRouter>());\n  });\n\n  test('Check initial route is splashscreen', () {\n    final context = MockBuildContext();\n    AppRoute.setStream(context, isTest: true);\n    expect(\n      AppRoute.router.routeInformationProvider.value.uri.path,\n      equals(Routes.splashScreen.path),\n    );\n  });\n\n  testWidgets('Dashboard route builds within shell correctly', (\n    WidgetTester tester,\n  ) async {\n    final context = MockBuildContext();\n    //set login as true\n    MainBoxMixin.mainBox?.put(MainBoxKeys.isLogin.name, true);\n\n    AppRoute.setStream(context, isTest: true);\n    // Create a test app with the router\n    await tester.pumpWidget(\n      ScreenUtilInit(\n        designSize: const Size(375, 667),\n        minTextAdapt: true,\n        splitScreenMode: true,\n        builder: (_, _) => MaterialApp.router(\n          routerConfig: AppRoute.router,\n          localizationsDelegates: const [\n            Strings.delegate,\n            GlobalMaterialLocalizations.delegate,\n            GlobalWidgetsLocalizations.delegate,\n            GlobalCupertinoLocalizations.delegate,\n          ],\n          locale: const Locale('en'),\n          supportedLocales: L10n.all,\n          theme: themeLight(context),\n        ),\n      ),\n    );\n\n    // Navigate to dashboard\n    await tester.pumpAndSettle();\n\n    expect(find.byType(MainPage), findsOneWidget);\n    expect(find.byType(DashboardPage), findsOneWidget);\n  });\n}\n"
  },
  {
    "path": "test/core/error/exception_test.dart",
    "content": "import 'package:flutter_auth_app/core/error/exceptions.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('Exceptions', () {\n    test('ServerException should store message', () {\n      const errorMessage = 'Server error occurred';\n      final exception = ServerException(errorMessage);\n\n      expect(exception.message, equals(errorMessage));\n    });\n\n    test('CacheException should be instantiable', () {\n      final exception = CacheException();\n\n      expect(exception, isA<CacheException>());\n    });\n  });\n}\n"
  },
  {
    "path": "test/core/error/failure_test.dart",
    "content": "import 'package:flutter_auth_app/core/error/failure.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('Failure', () {\n    test('ServerFailure equality and hashCode', () {\n      const failure1 = ServerFailure('Error message');\n      const failure2 = ServerFailure('Error message');\n      const failure3 = ServerFailure('Different message');\n\n      expect(failure1, equals(failure2));\n      expect(failure1, isNot(equals(failure3)));\n      expect(failure1.hashCode, equals(failure2.hashCode));\n      expect(failure1.hashCode, isNot(equals(failure3.hashCode)));\n    });\n\n    test('NoDataFailure equality and hashCode', () {\n      final failure1 = NoDataFailure();\n      final failure2 = NoDataFailure();\n\n      expect(failure1, equals(failure2));\n      expect(failure1.hashCode, equals(failure2.hashCode));\n    });\n\n    test('CacheFailure equality and hashCode', () {\n      final failure1 = CacheFailure();\n      final failure2 = CacheFailure();\n\n      expect(failure1, equals(failure2));\n      expect(failure1.hashCode, equals(failure2.hashCode));\n    });\n  });\n}\n"
  },
  {
    "path": "test/core/localization/l10n_test.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('L10n', () {\n    test('all locales', () {\n      expect(L10n.all, contains(const Locale('en')));\n      expect(L10n.all, contains(const Locale('id')));\n    });\n\n    test('getFlag returns correct language name', () {\n      expect(L10n.getFlag('en'), equals('English'));\n      expect(L10n.getFlag('id'), equals('Bahasa'));\n    });\n\n    test('getFlag returns default language name for unknown code', () {\n      expect(L10n.getFlag('unknown'), equals('English'));\n    });\n  });\n}\n"
  },
  {
    "path": "test/core/widgets/circle_image_test.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  Widget rootWidget(Widget body) => ScreenUtilInit(\n    designSize: const Size(375, 667),\n    minTextAdapt: true,\n    splitScreenMode: true,\n    builder: (_, _) => MaterialApp(\n      localizationsDelegates: const [\n        Strings.delegate,\n        GlobalMaterialLocalizations.delegate,\n        GlobalWidgetsLocalizations.delegate,\n        GlobalCupertinoLocalizations.delegate,\n      ],\n      locale: const Locale('en'),\n      supportedLocales: L10n.all,\n      theme: themeLight(MockBuildContext()),\n      home: body,\n    ),\n  );\n\n  testWidgets('displays circle image', (WidgetTester tester) async {\n    await tester.pumpWidget(\n      rootWidget(\n        const CircleImage(url: 'https://example.com/image.jpg', size: 50),\n      ),\n    );\n\n    expect(find.byType(CircleImage), findsOneWidget);\n  });\n}\n"
  },
  {
    "path": "test/core/widgets/toast_test.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  Widget rootWidget(Widget body) => ScreenUtilInit(\n    designSize: const Size(375, 667),\n    minTextAdapt: true,\n    splitScreenMode: true,\n    builder: (_, _) => MaterialApp(\n      localizationsDelegates: const [\n        Strings.delegate,\n        GlobalMaterialLocalizations.delegate,\n        GlobalWidgetsLocalizations.delegate,\n        GlobalCupertinoLocalizations.delegate,\n      ],\n      locale: const Locale('en'),\n      supportedLocales: L10n.all,\n      theme: themeLight(MockBuildContext()),\n      home: body,\n    ),\n  );\n\n  testWidgets('displays circle image', (WidgetTester tester) async {\n    await tester.pumpWidget(\n      rootWidget(\n        const Toast(\n          bgColor: Colors.red,\n          icon: Icons.error,\n          message: 'Message',\n          textColor: Colors.white,\n        ),\n      ),\n    );\n\n    expect(find.byType(Toast), findsOneWidget);\n    expect(find.byType(Icon), findsOneWidget);\n    expect(find.text('Message'), findsOneWidget);\n  });\n}\n"
  },
  {
    "path": "test/features/auth/data/datasources/models/general_token_response_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nvoid main() {\n  const generalTokenResponse = GeneralTokenResponse(\n    diagnostic: Diagnostic(status: '200', message: 'Success'),\n    data: DataGeneralToken(\n      token:\n          'lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw',\n      tokenType: 'Bearer',\n    ),\n  );\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathGeneralTokenResponse200));\n\n    /// act\n    final result =\n        GeneralTokenResponse.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(generalTokenResponse));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = generalTokenResponse.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'diagnostic': {\n        'status': '200',\n        'message': 'Success',\n      },\n      'data': {\n        'token':\n            'lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw',\n        'tokenType': 'Bearer',\n      },\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/data/datasources/models/login_response_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nvoid main() {\n  const loginResponse = LoginResponse(\n    diagnostic: Diagnostic(status: '200', message: 'Success'),\n    data: DataLogin(\n      token:\n          'lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw',\n      tokenType: 'Bearer',\n      refreshToken:\n          'lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8',\n    ),\n  );\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathLoginResponse200));\n\n    /// act\n    final result = LoginResponse.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(loginResponse));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = loginResponse.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'diagnostic': {'status': '200', 'message': 'Success'},\n      'data': {\n        'token':\n            'lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw',\n        'tokenType': 'Bearer',\n        'refreshToken':\n            'lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8',\n      },\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/data/datasources/models/register_response_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nvoid main() {\n  const registerResponse = RegisterResponse(\n    diagnostic: Diagnostic(\n      status: '200',\n      message: 'Success',\n    ),\n    data: DataRegister(\n      id: '8364aa6f-6887-4502-a6b0-62f082196476',\n      name: 'Mudassir',\n      email: 'mudassir@lazycatlabs.com',\n      photo:\n          'https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png',\n      verified: false,\n      createdAt: '2024-08-25T15:04:28.191067',\n      updatedAt: '2024-08-25T15:04:28.191067',\n    ),\n  );\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathRegisterResponse200));\n\n    /// act\n    final result = RegisterResponse.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(registerResponse));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = registerResponse.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'diagnostic': {\n        'status': '200',\n        'message': 'Success',\n      },\n      'data': {\n        'id': '8364aa6f-6887-4502-a6b0-62f082196476',\n        'name': 'Mudassir',\n        'email': 'mudassir@lazycatlabs.com',\n        'photo':\n            'https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png',\n        'verified': false,\n        'createdAt': '2024-08-25T15:04:28.191067',\n        'updatedAt': '2024-08-25T15:04:28.191067',\n      },\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/data/datasources/repositories/auth_remote_datasources_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:http_mock_adapter/http_mock_adapter.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nvoid main() {\n  late DioAdapter dioAdapter;\n  late AuthRemoteDatasourceImpl dataSource;\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(\n      isUnitTest: true,\n      prefixBox: 'auth_remote_datasource_test_',\n    );\n    dioAdapter = DioAdapter(dio: sl<DioClient>().dio);\n    dataSource = AuthRemoteDatasourceImpl(sl<DioClient>());\n  });\n\n  group('register', () {\n    const registerParams =\n        RegisterParams(email: 'mudassir@lazycatlabs.com', password: 'Pass123');\n    final registerModel = RegisterResponse.fromJson(\n      json.decode(jsonReader(pathRegisterResponse200)) as Map<String, dynamic>,\n    );\n\n    test(\n      'should return register success model when response code is 200',\n      () async {\n        /// arrange\n        dioAdapter.onPost(\n          ListAPI.user,\n          (server) => server.reply(\n            200,\n            json.decode(jsonReader(pathRegisterResponse200)),\n          ),\n          data: registerParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.register(registerParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, null),\n          (r) => expect(r, registerModel),\n        );\n      },\n    );\n\n    test(\n      'should return register unsuccessful model when response code is 400',\n      () async {\n        /// arrange\n\n        dioAdapter.onPost(\n          ListAPI.user,\n          (server) => server.reply(\n            400,\n            json.decode(jsonReader(pathRegisterResponse400)),\n          ),\n          data: registerParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.register(registerParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, isA<ServerFailure>()),\n          (r) => expect(r, null),\n        );\n      },\n    );\n  });\n\n  group('login', () {\n    const loginParams =\n        LoginParams(email: 'mudassir@lazycatlabs.com', password: 'Pass123');\n    final loginModel = LoginResponse.fromJson(\n      json.decode(jsonReader(pathLoginResponse200)) as Map<String, dynamic>,\n    );\n\n    test(\n      'should return login success model when response code is 200',\n      () async {\n        /// arrange\n        dioAdapter.onPost(\n          ListAPI.login,\n          (server) => server.reply(\n            200,\n            json.decode(jsonReader(pathLoginResponse200)),\n          ),\n          data: loginParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.login(loginParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, null),\n          (r) => expect(r, loginModel),\n        );\n      },\n    );\n\n    test(\n      'should return login unsuccessful model when response code is 401',\n      () async {\n        /// arrange\n        dioAdapter.onPost(\n          ListAPI.login,\n          (server) => server.reply(\n            401,\n            json.decode(jsonReader(pathLoginResponse401)),\n          ),\n          data: loginParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.login(loginParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, isA<ServerFailure>()),\n          (r) => expect(r, null),\n        );\n      },\n    );\n  });\n\n  group('general token', () {\n    const generalTokenParams =\n        GeneralTokenParams(clientId: 'apimock', clientSecret: 'apimock_secret');\n    final generalTokenResponse = GeneralTokenResponse.fromJson(\n      json.decode(jsonReader(pathGeneralTokenResponse200))\n          as Map<String, dynamic>,\n    );\n\n    test(\n      'should return general token success model when response code is 200',\n      () async {\n        /// arrange\n        dioAdapter.onPost(\n          ListAPI.generalToken,\n          (server) => server.reply(\n            200,\n            json.decode(jsonReader(pathGeneralTokenResponse200)),\n          ),\n          data: generalTokenParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.generalToken(generalTokenParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, null),\n          (r) => expect(r, generalTokenResponse),\n        );\n      },\n    );\n\n    test(\n      'should return general token unsuccessful model when response code is 401',\n      () async {\n        /// arrange\n        dioAdapter.onPost(\n          ListAPI.login,\n          (server) => server.reply(\n            401,\n            json.decode(jsonReader(pathGeneralTokenResponse401)),\n          ),\n          data: generalTokenParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.generalToken(generalTokenParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, isA<ServerFailure>()),\n          (r) => expect(r, null),\n        );\n      },\n    );\n  });\n}\n"
  },
  {
    "path": "test/features/auth/data/repositories/auth_repository_impl_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockAuthRemoteDatasource mockAuthRemoteDatasource;\n  late AuthRepositoryImpl authRepositoryImpl;\n  late Login login;\n  late GeneralToken generalToken;\n  late Register register;\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(\n      isUnitTest: true,\n      prefixBox: 'auth_repository_impl_test_',\n    );\n    mockAuthRemoteDatasource = MockAuthRemoteDatasource();\n    authRepositoryImpl = AuthRepositoryImpl(mockAuthRemoteDatasource, sl());\n    login = LoginResponse.fromJson(\n      json.decode(jsonReader(pathLoginResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    register = RegisterResponse.fromJson(\n      json.decode(jsonReader(pathRegisterResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    generalToken = GeneralTokenResponse.fromJson(\n      json.decode(jsonReader(pathGeneralTokenResponse200))\n          as Map<String, dynamic>,\n    ).toEntity();\n  });\n\n  group('general token', () {\n    const generalTokenParams =\n        GeneralTokenParams(clientId: 'apimock', clientSecret: 'apimock_secret');\n    test('should return general token when call data is successful', () async {\n      // arrange\n      when(mockAuthRemoteDatasource.generalToken(generalTokenParams))\n          .thenAnswer(\n        (_) async => Right(\n          GeneralTokenResponse.fromJson(\n            json.decode(jsonReader(pathGeneralTokenResponse200))\n                as Map<String, dynamic>,\n          ),\n        ),\n      );\n\n      // act\n      final result = await authRepositoryImpl.generalToken(generalTokenParams);\n\n      // assert\n      verify(mockAuthRemoteDatasource.generalToken(generalTokenParams));\n\n      expect(result, Right(generalToken));\n    });\n\n    test(\n      'should return server failure when call data is unsuccessful',\n      () async {\n        // arrange\n        when(mockAuthRemoteDatasource.generalToken(generalTokenParams))\n            .thenAnswer((_) async => const Left(ServerFailure('')));\n\n        // act\n        final result =\n            await authRepositoryImpl.generalToken(generalTokenParams);\n\n        // assert\n        verify(mockAuthRemoteDatasource.generalToken(generalTokenParams));\n        expect(result, const Left(ServerFailure('')));\n      },\n    );\n  });\n\n  group('login', () {\n    const loginParams =\n        LoginParams(email: 'mudassir@lazycatlabs.com', password: 'pass123');\n    test('should return login when call data is successful', () async {\n      // arrange\n      when(mockAuthRemoteDatasource.login(loginParams)).thenAnswer(\n        (_) async => Right(\n          LoginResponse.fromJson(\n            json.decode(jsonReader(pathLoginResponse200))\n                as Map<String, dynamic>,\n          ),\n        ),\n      );\n\n      // act\n      final result = await authRepositoryImpl.login(loginParams);\n\n      // assert\n      verify(mockAuthRemoteDatasource.login(loginParams));\n\n      expect(result, Right(login));\n    });\n\n    test(\n      'should return server failure when call data is unsuccessful',\n      () async {\n        // arrange\n        when(mockAuthRemoteDatasource.login(loginParams))\n            .thenAnswer((_) async => const Left(ServerFailure('')));\n\n        // act\n        final result = await authRepositoryImpl.login(loginParams);\n\n        // assert\n        verify(mockAuthRemoteDatasource.login(loginParams));\n        expect(result, const Left(ServerFailure('')));\n      },\n    );\n  });\n\n  group('register', () {\n    const registerParams =\n        RegisterParams(email: 'mudassir@lazycatlabs.com', password: 'pass123');\n    test('should return register when call data is successful', () async {\n      // arrange\n      when(mockAuthRemoteDatasource.register(registerParams)).thenAnswer(\n        (_) async => Right(\n          RegisterResponse.fromJson(\n            json.decode(jsonReader(pathRegisterResponse200))\n                as Map<String, dynamic>,\n          ),\n        ),\n      );\n\n      // act\n      final result = await authRepositoryImpl.register(registerParams);\n\n      // assert\n      verify(mockAuthRemoteDatasource.register(registerParams));\n      expect(result, equals(Right(register)));\n    });\n\n    test(\n      'should return server failure when call data is unsuccessful',\n      () async {\n        // arrange\n        when(mockAuthRemoteDatasource.register(registerParams))\n            .thenAnswer((_) async => const Left(ServerFailure('')));\n\n        // act\n        final result = await authRepositoryImpl.register(registerParams);\n\n        // assert\n        verify(mockAuthRemoteDatasource.register(registerParams));\n        expect(result, const Left(ServerFailure('')));\n      },\n    );\n  });\n}\n"
  },
  {
    "path": "test/features/auth/domain/usecases/post_general_token_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockAuthRepository mockAuthRepository;\n  late PostGeneralToken postGeneralToken;\n  late GeneralToken generalToken;\n  const generalTokenParams =\n      GeneralTokenParams(clientId: 'apimock', clientSecret: 'apimock_secret');\n\n  setUp(() {\n    generalToken = GeneralTokenResponse.fromJson(\n      json.decode(jsonReader(pathGeneralTokenResponse200))\n          as Map<String, dynamic>,\n    ).toEntity();\n    mockAuthRepository = MockAuthRepository();\n    postGeneralToken = PostGeneralToken(mockAuthRepository);\n  });\n\n  test('should get general_token from the repository', () async {\n    /// arrange\n    when(mockAuthRepository.generalToken(generalTokenParams))\n        .thenAnswer((_) async => Right(generalToken));\n\n    /// act\n    final result = await postGeneralToken.call(generalTokenParams);\n\n    /// assert\n    expect(result, equals(Right(generalToken)));\n  });\n\n  test('parse GeneralTokenParams to json', () {\n    /// act\n    final result = generalTokenParams.toJson();\n    final expected = {'clientId': 'apimock', 'clientSecret': 'apimock_secret'};\n\n    /// assert\n    expect(result, equals(expected));\n  });\n\n  test('parse GeneralTokenParams from json', () {\n    /// act\n    final params = GeneralTokenParams.fromJson({\n      'clientId': 'apimock',\n      'clientSecret': 'apimock_secret',\n    });\n\n    /// assert\n    expect(params, equals(generalTokenParams));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/domain/usecases/post_login_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockAuthRepository mockAuthRepository;\n  late PostLogin postLogin;\n  late Login login;\n  const loginParams =\n      LoginParams(email: 'mudassir@lazycatlabs.com', password: 'pass123');\n\n  setUp(() {\n    login = LoginResponse.fromJson(\n      json.decode(jsonReader(pathLoginResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockAuthRepository = MockAuthRepository();\n    postLogin = PostLogin(mockAuthRepository);\n  });\n\n  test('should get login from the repository', () async {\n    /// arrange\n    when(mockAuthRepository.login(loginParams))\n        .thenAnswer((_) async => Right(login));\n\n    /// act\n    final result = await postLogin.call(loginParams);\n\n    /// assert\n    expect(result, equals(Right(login)));\n  });\n\n  test('parse LoginParams to json', () {\n    /// act\n    final result = loginParams.toJson();\n    final expected = {\n      'email': 'mudassir@lazycatlabs.com',\n      'password': 'pass123',\n      'osInfo': null,\n      'deviceInfo': null,\n      'fcmToken': 'GeneratedFCMToken',\n    };\n\n    /// assert\n    expect(result, equals(expected));\n  });\n\n  test('parse LoginParams from json', () {\n    /// act\n    final params = LoginParams.fromJson({\n      'email': 'mudassir@lazycatlabs.com',\n      'password': 'pass123',\n    });\n\n    /// assert\n    expect(params, equals(loginParams));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/domain/usecases/post_logout.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockAuthRepository mockAuthRepository;\n  late PostLogout postLogout;\n  late String logout;\n\n  setUp(() {\n    logout = DiagnosticResponse.fromJson(\n          json.decode(jsonReader(pathGeneralTokenResponse200))\n              as Map<String, dynamic>,\n        ).diagnostic?.message ??\n        '';\n    mockAuthRepository = MockAuthRepository();\n    postLogout = PostLogout(mockAuthRepository);\n  });\n\n  test('should get logout from the repository', () async {\n    /// arrange\n    when(mockAuthRepository.logout()).thenAnswer((_) async => Right(logout));\n\n    /// act\n    final result = await postLogout.call(NoParams());\n\n    /// assert\n    expect(result, equals(Right(logout)));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/domain/usecases/post_register_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockAuthRepository mockAuthRepository;\n  late PostRegister postRegister;\n  late Register register;\n  const registerParams = RegisterParams(\n    name: 'Mudassir',\n    email: 'mudassir@lazycatlabs.com',\n    password: 'pass123',\n  );\n\n  setUp(() {\n    register = RegisterResponse.fromJson(\n      json.decode(jsonReader(pathRegisterResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockAuthRepository = MockAuthRepository();\n    postRegister = PostRegister(mockAuthRepository);\n  });\n\n  test('should get register from the repository', () async {\n    /// arrange\n    when(mockAuthRepository.register(registerParams))\n        .thenAnswer((_) async => Right(register));\n\n    /// act\n    final result = await postRegister.call(registerParams);\n\n    /// assert\n    expect(result, equals(Right(register)));\n  });\n\n  test('parse RegisterParams to json', () {\n    /// act\n    final result = registerParams.toJson();\n    final expected = {\n      'name': 'Mudassir',\n      'email': 'mudassir@lazycatlabs.com',\n      'password': 'pass123',\n    };\n\n    /// assert\n    expect(result, equals(expected));\n  });\n\n  test('parse RegisterParams from json', () {\n    /// act\n    final params = RegisterParams.fromJson({\n      'name': 'Mudassir',\n      'email': 'mudassir@lazycatlabs.com',\n      'password': 'pass123',\n    });\n\n    /// assert\n    expect(params, equals(registerParams));\n  });\n}\n"
  },
  {
    "path": "test/features/auth/pages/login/cubit/auth_cubit_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/annotations.dart';\nimport 'package:mockito/mockito.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\nimport 'auth_cubit_test.mocks.dart';\n\n@GenerateMocks([PostLogin])\nvoid main() {\n  late AuthCubit authCubit;\n  late Login login;\n  late MockPostLogin mockPostLogin;\n\n  const loginParams = LoginParams(\n    email: 'mudassir@lazycatlabs.com',\n    password: 'pass123',\n  );\n  const errorMessage = 'Wrong username or password';\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'auth_cubit_test_');\n    login = LoginResponse.fromJson(\n      json.decode(jsonReader(pathLoginResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockPostLogin = MockPostLogin();\n    authCubit = AuthCubit(mockPostLogin);\n  });\n\n  /// Dispose bloc\n  tearDown(() => authCubit.close());\n\n  ///  Initial data should be loading\n  test('Initial data should be AuthStatus.loading', () {\n    expect(authCubit.state, const AuthState.loading());\n  });\n\n  blocTest<AuthCubit, AuthState>(\n    'When repo success get data should be return AuthState',\n    build: () {\n      when(mockPostLogin.call(loginParams))\n          .thenAnswer((_) async => Right(login));\n\n      return authCubit;\n    },\n    act: (cubit) => cubit.login(loginParams),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const AuthState.loading(),\n      AuthState.success(login.token),\n    ],\n  );\n\n  blocTest<AuthCubit, AuthState>(\n    'When user input wrong credential should be return ServerFailure',\n    build: () {\n      when(mockPostLogin.call(loginParams))\n          .thenAnswer((_) async => const Left(ServerFailure(errorMessage)));\n\n      return authCubit;\n    },\n    act: (AuthCubit authCubit) => authCubit.login(loginParams),\n    wait: const Duration(milliseconds: 100),\n    expect: () => const [\n      AuthState.loading(),\n      AuthState.failure(errorMessage),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/auth/pages/login/cubit/auth_cubit_test.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/features/auth/pages/login/cubit/auth_cubit_test.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i4;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter_auth_app/core/core.dart' as _i5;\nimport 'package:flutter_auth_app/features/features.dart' as _i3;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\n/// A class which mocks [PostLogin].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockPostLogin extends _i1.Mock implements _i3.PostLogin {\n  MockPostLogin() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i4.Future<_i2.Either<_i5.Failure, _i3.Login>> call(\n    _i3.LoginParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#call, [params]),\n            returnValue: _i4.Future<_i2.Either<_i5.Failure, _i3.Login>>.value(\n              _FakeEither_0<_i5.Failure, _i3.Login>(\n                this,\n                Invocation.method(#call, [params]),\n              ),\n            ),\n          )\n          as _i4.Future<_i2.Either<_i5.Failure, _i3.Login>>);\n}\n"
  },
  {
    "path": "test/features/auth/pages/login/cubit/auth_state_test.dart",
    "content": "import 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('AuthStatusX', () {\n    test('returns correct values for AuthStatus.loading', () {\n      const status = AuthState.loading();\n      expect(status, const AuthState.loading());\n    });\n\n    test('returns correct values for AuthStatus.success', () {\n      const status = AuthState.success(null);\n      expect(status, const AuthState.success(null));\n    });\n\n    test('returns correct values for AuthStatus.failure', () {\n      const status = AuthState.failure('');\n      expect(status, const AuthState.failure(''));\n    });\n  });\n}\n"
  },
  {
    "path": "test/features/auth/pages/login/login_page_test.dart",
    "content": "import 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockAuthCubit extends MockCubit<AuthState> implements AuthCubit {}\n\nclass FakeAuthCubit extends Fake implements AuthCubit {}\n\nclass FakeReloadFormCubit extends Fake implements ReloadFormCubit {}\n\nclass MockReloadFormCubit extends MockCubit<ReloadFormState>\n    implements ReloadFormCubit {}\n\nvoid main() {\n  late AuthCubit authCubit;\n  late ReloadFormCubit reloadFormCubit;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n    registerFallbackValue(FakeAuthCubit());\n    registerFallbackValue(FakeReloadFormCubit());\n    registerFallbackValue(const LoginParams());\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'login_page_test_');\n    authCubit = MockAuthCubit();\n    reloadFormCubit = MockReloadFormCubit();\n  });\n\n  Widget rootWidget(Widget body, {bool isDarkTheme = false}) =>\n      MultiBlocProvider(\n        providers: [\n          BlocProvider<AuthCubit>.value(value: authCubit),\n          BlocProvider<ReloadFormCubit>.value(value: reloadFormCubit),\n        ],\n        child: ScreenUtilInit(\n          designSize: const Size(375, 667),\n          minTextAdapt: true,\n          splitScreenMode: true,\n          builder: (_, _) => MaterialApp(\n            localizationsDelegates: const [\n              Strings.delegate,\n              GlobalMaterialLocalizations.delegate,\n              GlobalWidgetsLocalizations.delegate,\n              GlobalCupertinoLocalizations.delegate,\n            ],\n            locale: const Locale('en'),\n            supportedLocales: L10n.all,\n            theme: isDarkTheme\n                ? themeDark(MockBuildContext())\n                : themeLight(MockBuildContext()),\n            home: body,\n          ),\n        ),\n      );\n\n  testWidgets('renders LoginPage for in Light and Dark Theme', (tester) async {\n    when(() => authCubit.state).thenReturn(const AuthState.success(null));\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.initial());\n\n    await tester.pumpWidget(rootWidget(const LoginPage()));\n    await tester.pumpAndSettle();\n    expect(\n      find.byWidgetPredicate((widget) {\n        if (widget is Image) {\n          return widget.image == AssetImage(Images.icLauncher);\n        }\n        return false;\n      }),\n      findsOneWidget,\n    );\n\n    /// change theme to dark\n    await tester.pumpWidget(rootWidget(const LoginPage(), isDarkTheme: true));\n    await tester\n        .pumpAndSettle(); // Verify that the dark theme image is displayed\n    expect(\n      find.byWidgetPredicate((widget) {\n        if (widget is Image) {\n          return widget.image == AssetImage(Images.icLauncherDark);\n        }\n        return false;\n      }),\n      findsOneWidget,\n    );\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, null);\n  });\n  testWidgets('renders LoginPage for form validation blank', (tester) async {\n    when(() => authCubit.state).thenReturn(const AuthState.success(null));\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.initial());\n\n    await tester.pumpWidget(rootWidget(const LoginPage()));\n    await tester.pumpAndSettle();\n    await tester.dragUntilVisible(\n      find.byType(Button), // what you want to find\n      find.byType(SingleChildScrollView), // widget you want to scroll\n      const Offset(0, 50), // delta to move\n    );\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, null);\n  });\n\n  testWidgets('renders LoginPage for form validation fill email', (\n    tester,\n  ) async {\n    const email = 'mudassir@lazycatlabs.com';\n\n    when(() => authCubit.state).thenReturn(const AuthState.success(null));\n    when(() => authCubit.login(any())).thenAnswer((_) async {});\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.initial());\n\n    await tester.pumpWidget(rootWidget(const LoginPage()));\n    await tester.pumpAndSettle();\n    await tester.dragUntilVisible(\n      find.byType(Button), // what you want to find\n      find.byType(SingleChildScrollView), // widget you want to scroll\n      const Offset(0, 50), // delta to move\n    );\n\n    /// validate email\n    await tester.enterText(find.byKey(const Key('email')), email);\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const LoginPage()));\n    expect(find.text('Email is not valid'), findsNothing);\n\n    await tester.tap(find.byKey(const Key('password')));\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const LoginPage()));\n    expect(find.text('Password must be at least 6 characters'), findsOneWidget);\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, null);\n  });\n\n  testWidgets(\n    'renders LoginPage for form validation fill email,password and call login cubit',\n    (tester) async {\n      const email = 'mudassir@lazycatlabs.com';\n      const password = 'password';\n\n      when(() => authCubit.state).thenReturn(const AuthState.success(null));\n      when(() => authCubit.login(any())).thenAnswer((_) async {});\n      when(\n        () => reloadFormCubit.state,\n      ).thenReturn(const ReloadFormState.initial());\n\n      await tester.pumpWidget(rootWidget(const LoginPage()));\n      await tester.pumpAndSettle();\n\n      /// validate email\n      await tester.enterText(find.byKey(const Key('email')), email);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const LoginPage()));\n      expect(find.text('Email is not valid'), findsNothing);\n\n      /// validate password\n      await tester.enterText(find.byKey(const Key('password')), password);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const LoginPage()));\n      expect(find.text('Password must be at least 6 characters'), findsNothing);\n\n      /// the button should be enable\n      expect(\n        tester.widget<Button>(find.byType(Button)).onPressed,\n        isA<VoidCallback>(),\n      );\n\n      // scroll down to make button visible\n      await tester.drag(\n        find.byType(SingleChildScrollView),\n        const Offset(0, -250),\n      );\n\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.tap(find.byType(Button));\n\n      /// verify if authCubit.login is called\n      verify(() => authCubit.login(any())).called(1);\n    },\n  );\n}\n"
  },
  {
    "path": "test/features/auth/pages/register/cubit/register_cubit_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/annotations.dart';\nimport 'package:mockito/mockito.dart';\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\nimport 'register_cubit_test.mocks.dart';\n\n@GenerateMocks([PostRegister])\nvoid main() {\n  late RegisterCubit registerCubit;\n  late MockPostRegister mockPostRegister;\n  late Register register;\n\n  const registerParams = RegisterParams(\n    email: 'mudassir@lazycatlabs.com',\n    password: 'pass123',\n  );\n\n  const errorMessage = 'Invalid data';\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'register_cubit_test_');\n    register = RegisterResponse.fromJson(\n      json.decode(jsonReader(pathRegisterResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockPostRegister = MockPostRegister();\n    registerCubit = RegisterCubit(mockPostRegister);\n  });\n\n  /// Dispose bloc\n  tearDown(() => registerCubit.close());\n\n  /// Test init data should be loading\n  test('Initial state should be RegisterStatus.loading', () {\n    expect(registerCubit.state, const RegisterState.loading());\n  });\n\n  blocTest<RegisterCubit, RegisterState>(\n    'When repo success get data should be return RegisterState',\n    build: () {\n      when(\n        mockPostRegister.call(registerParams),\n      ).thenAnswer((_) async => Right(register));\n\n      return registerCubit;\n    },\n    act: (RegisterCubit registerCubit) => registerCubit.register(\n      registerParams,\n    ),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const RegisterState.loading(),\n      RegisterState.success(register),\n    ],\n  );\n\n  blocTest<RegisterCubit, RegisterState>(\n    'When repo success get data should be return ServerFailure',\n    build: () {\n      when(mockPostRegister.call(registerParams))\n          .thenAnswer((_) async => const Left(ServerFailure(errorMessage)));\n\n      return registerCubit;\n    },\n    act: (RegisterCubit registerCubit) => registerCubit.register(\n      registerParams,\n    ),\n    expect: () =>\n        const [RegisterState.loading(), RegisterState.failure(errorMessage)],\n  );\n}\n"
  },
  {
    "path": "test/features/auth/pages/register/cubit/register_cubit_test.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/features/auth/pages/register/cubit/register_cubit_test.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i4;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter_auth_app/core/core.dart' as _i5;\nimport 'package:flutter_auth_app/features/features.dart' as _i3;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\n/// A class which mocks [PostRegister].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockPostRegister extends _i1.Mock implements _i3.PostRegister {\n  MockPostRegister() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i4.Future<_i2.Either<_i5.Failure, _i3.Register>> call(\n    _i3.RegisterParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#call, [params]),\n            returnValue:\n                _i4.Future<_i2.Either<_i5.Failure, _i3.Register>>.value(\n                  _FakeEither_0<_i5.Failure, _i3.Register>(\n                    this,\n                    Invocation.method(#call, [params]),\n                  ),\n                ),\n          )\n          as _i4.Future<_i2.Either<_i5.Failure, _i3.Register>>);\n}\n"
  },
  {
    "path": "test/features/auth/pages/register/cubit/register_state_test.dart",
    "content": "import 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('RegisterStatusX', () {\n    test('returns correct values for RegisterStatus.loading', () {\n      const status = RegisterState.loading();\n      expect(status, const RegisterState.loading());\n    });\n\n    test('returns correct values for RegisterStatus.success', () {\n      const status = RegisterState.success(null);\n      expect(status, const RegisterState.success(null));\n    });\n\n    test('returns correct values for RegisterStatus.failure', () {\n      const status = RegisterState.failure('');\n      expect(status, const RegisterState.failure(''));\n    });\n  });\n}\n"
  },
  {
    "path": "test/features/auth/pages/register/register_page_test.dart",
    "content": "import 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockRegisterCubit extends MockCubit<RegisterState>\n    implements RegisterCubit {}\n\nclass FakeRegisterState extends Fake {}\n\nclass MockReloadFormCubit extends MockCubit<ReloadFormState>\n    implements ReloadFormCubit {}\n\nclass FakeReloadFormState extends Fake {}\n\nvoid main() {\n  late RegisterCubit registerCubit;\n  late ReloadFormCubit reloadFormCubit;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n    registerFallbackValue(FakeRegisterState());\n    registerFallbackValue(FakeReloadFormState());\n    registerFallbackValue(const RegisterParams());\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true);\n    registerCubit = MockRegisterCubit();\n    reloadFormCubit = MockReloadFormCubit();\n  });\n\n  Widget rootWidget(Widget body, {bool isDarkTheme = false}) =>\n      MultiBlocProvider(\n        providers: [\n          BlocProvider<RegisterCubit>.value(value: registerCubit),\n          BlocProvider<ReloadFormCubit>.value(value: reloadFormCubit),\n        ],\n        child: ScreenUtilInit(\n          designSize: const Size(375, 667),\n          minTextAdapt: true,\n          splitScreenMode: true,\n          builder: (_, _) => MaterialApp(\n            localizationsDelegates: const [\n              Strings.delegate,\n              GlobalMaterialLocalizations.delegate,\n              GlobalWidgetsLocalizations.delegate,\n              GlobalCupertinoLocalizations.delegate,\n            ],\n            locale: const Locale('en'),\n            theme: isDarkTheme\n                ? themeDark(MockBuildContext())\n                : themeLight(MockBuildContext()),\n            home: body,\n          ),\n        ),\n      );\n\n  testWidgets('renders RegisterPage for in Light and Dark Theme', (\n    tester,\n  ) async {\n    when(\n      () => registerCubit.state,\n    ).thenReturn(const RegisterState.success(null));\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.initial());\n\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    await tester.pumpAndSettle();\n    expect(\n      find.byWidgetPredicate((widget) {\n        if (widget is Image) {\n          return widget.image == AssetImage(Images.icLauncher);\n        }\n        return false;\n      }),\n      findsOneWidget,\n    );\n\n    /// change theme to dark\n    await tester.pumpWidget(\n      rootWidget(const RegisterPage(), isDarkTheme: true),\n    );\n    await tester\n        .pumpAndSettle(); // Verify that the dark theme image is displayed\n    expect(\n      find.byWidgetPredicate((widget) {\n        if (widget is Image) {\n          return widget.image == AssetImage(Images.icLauncherDark);\n        }\n        return false;\n      }),\n      findsOneWidget,\n    );\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, null);\n  });\n\n  testWidgets('renders RegisterPage for form validation blank', (tester) async {\n    when(\n      () => registerCubit.state,\n    ).thenReturn(const RegisterState.success(null));\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.formUpdated());\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 500));\n\n    await tester.dragUntilVisible(\n      find.byKey(const Key('name')),\n      find.byType(SingleChildScrollView),\n      const Offset(0, 50),\n    );\n\n    /// validate name\n    await tester.tap(find.byKey(const Key('name')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 500));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text(\"Can't be empty\"), findsOneWidget);\n\n    await tester.dragUntilVisible(\n      find.byKey(const Key('btn_register')), // what you want to find\n      find.byType(SingleChildScrollView), // widget you want to scroll\n      const Offset(0, 50), // delta to move\n    );\n\n    /// validate email\n    await tester.tap(find.byKey(const Key('email')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Email is not valid'), findsOneWidget);\n\n    /// validate password\n    await tester.tap(find.byKey(const Key('password')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Password must be at least 6 characters'), findsOneWidget);\n\n    /// validate repeat password\n    await tester.tap(find.byKey(const Key('repeat_password')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text(\"Password doesn't match\"), findsOneWidget);\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, isNull);\n  });\n\n  testWidgets('renders RegisterPage for form validation fill name', (\n    tester,\n  ) async {\n    const name = 'Mudassir';\n\n    when(\n      () => registerCubit.state,\n    ).thenReturn(const RegisterState.success(null));\n\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.initial());\n\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n\n    await tester.drag(\n      find.byType(SingleChildScrollView),\n      const Offset(0, -500),\n    );\n\n    /// validate name\n    await tester.enterText(find.byKey(const Key('name')), name);\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text(\"Can't be empty\"), findsNothing);\n\n    await tester.dragUntilVisible(\n      find.byKey(const Key('btn_register')), // what you want to find\n      find.byType(SingleChildScrollView), // widget you want to scroll\n      const Offset(0, 50), // delta to move\n    );\n\n    /// validate email\n    await tester.enterText(find.byKey(const Key('email')), name);\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Email is not valid'), findsOneWidget);\n\n    /// validate password\n    await tester.tap(find.byKey(const Key('password')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Password must be at least 6 characters'), findsOneWidget);\n\n    /// validate repeat password\n    await tester.tap(find.byKey(const Key('repeat_password')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text(\"Password doesn't match\"), findsOneWidget);\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, isNull);\n  });\n\n  testWidgets('renders RegisterPage for form validation fill name, email', (\n    tester,\n  ) async {\n    const name = 'Mudassir';\n    const email = 'mudassir@lazycatlabs.com';\n\n    when(\n      () => registerCubit.state,\n    ).thenReturn(const RegisterState.success(null));\n\n    when(\n      () => reloadFormCubit.state,\n    ).thenReturn(const ReloadFormState.initial());\n\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n\n    await tester.drag(\n      find.byType(SingleChildScrollView),\n      const Offset(0, -500),\n    );\n\n    /// validate name\n    await tester.enterText(find.byKey(const Key('name')), name);\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text(\"Can't be empty\"), findsNothing);\n\n    /// validate email\n    await tester.enterText(find.byKey(const Key('email')), email);\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Email is not valid'), findsNothing);\n\n    await tester.dragUntilVisible(\n      find.byKey(const Key('btn_register')), // what you want to find\n      find.byType(SingleChildScrollView), // widget you want to scroll\n      const Offset(0, 50), // delta to move\n    );\n\n    /// validate email\n    await tester.enterText(find.byKey(const Key('email')), email);\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Email is not valid'), findsNothing);\n\n    /// validate password\n    await tester.tap(find.byKey(const Key('password')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text('Password must be at least 6 characters'), findsOneWidget);\n\n    /// validate repeat password\n    await tester.tap(find.byKey(const Key('repeat_password')));\n    await tester.pumpAndSettle();\n    await tester.pump(const Duration(milliseconds: 450));\n    await tester.pumpWidget(rootWidget(const RegisterPage()));\n    expect(find.text(\"Password doesn't match\"), findsOneWidget);\n\n    /// the button should be disable\n    expect(tester.widget<Button>(find.byType(Button)).onPressed, isNull);\n  });\n\n  testWidgets(\n    'renders RegisterPage for form validation - fill name, email, password',\n    (tester) async {\n      const name = 'Mudassir';\n      const email = 'mudassir@lazycatlabs.com';\n      const password = 'pass123';\n\n      // Mock state providers\n      when(\n        () => registerCubit.state,\n      ).thenReturn(const RegisterState.success(null));\n      when(\n        () => reloadFormCubit.state,\n      ).thenReturn(const ReloadFormState.initial());\n\n      // Build the widget\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      await tester.pumpAndSettle();\n\n      await tester.drag(\n        find.byType(SingleChildScrollView),\n        const Offset(0, -500),\n      );\n\n      /// validate name\n      await tester.enterText(find.byKey(const Key('name')), name);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text(\"Can't be empty\"), findsNothing);\n\n      // Enter email and check validation\n      await tester.enterText(find.byKey(const Key('email')), email);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text('Email is not valid'), findsNothing);\n\n      // Enter password and check validation\n      await tester.enterText(find.byKey(const Key('password')), password);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text('Password must be at least 6 characters'), findsNothing);\n\n      // Simulate an invalid repeat password and check validation\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text(\"Password doesn't match\"), findsNothing);\n\n      /// the button should be disable\n      expect(tester.widget<Button>(find.byType(Button)).onPressed, isNull);\n    },\n  );\n\n  testWidgets(\n    'renders RegisterPage for form validation fill email,' +\n        'password, repeat password (not match)',\n    (tester) async {\n      const name = 'Mudassir';\n      const email = 'mudassir@lazycatlabs.com';\n      const password = 'pass123';\n\n      when(\n        () => registerCubit.state,\n      ).thenReturn(const RegisterState.success(null));\n      when(\n        () => reloadFormCubit.state,\n      ).thenReturn(const ReloadFormState.initial());\n\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n\n      await tester.drag(\n        find.byType(SingleChildScrollView),\n        const Offset(0, -500),\n      );\n\n      /// validate name\n      await tester.enterText(find.byKey(const Key('name')), name);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text(\"Can't be empty\"), findsNothing);\n\n      await tester.pumpAndSettle();\n      await tester.dragUntilVisible(\n        find.byKey(const Key('btn_register')), // what you want to find\n        find.byType(SingleChildScrollView), // widget you want to scroll\n        const Offset(0, 50), // delta to move\n      );\n\n      /// validate email\n      await tester.enterText(find.byKey(const Key('email')), email);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text('Email is not valid'), findsNothing);\n\n      /// validate password\n      await tester.enterText(find.byKey(const Key('password')), password);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text('Password must be at least 6 characters'), findsNothing);\n\n      /// validate repeat password\n      await tester.enterText(find.byKey(const Key('repeat_password')), '');\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text(\"Password doesn't match\"), findsOneWidget);\n\n      /// the button should be disable\n      expect(tester.widget<Button>(find.byType(Button)).onPressed, isNull);\n    },\n  );\n\n  testWidgets(\n    'renders RegisterPage for form validation fill email,' +\n        'password, repeat password (match) and call register cubit',\n    (tester) async {\n      const name = 'Mudassir';\n      const email = 'mudassir@lazycatlabs.com';\n      const password = 'pass123';\n\n      when(() => registerCubit.state).thenReturn(const RegisterState.loading());\n      when(() => registerCubit.register(any())).thenAnswer((_) async {});\n\n      when(\n        () => reloadFormCubit.state,\n      ).thenReturn(const ReloadFormState.initial());\n\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n\n      await tester.drag(\n        find.byType(SingleChildScrollView),\n        const Offset(0, -500),\n      );\n\n      /// validate name\n      await tester.enterText(find.byKey(const Key('name')), name);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text(\"Can't be empty\"), findsNothing);\n\n      /// validate email\n      await tester.enterText(find.byKey(const Key('email')), email);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text('Email is not valid'), findsNothing);\n\n      /// validate password\n      await tester.enterText(find.byKey(const Key('password')), password);\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text('Password must be at least 6 characters'), findsNothing);\n\n      /// validate repeat password\n      await tester.enterText(\n        find.byKey(const Key('repeat_password')),\n        password,\n      );\n      await tester.pumpAndSettle();\n      await tester.pump(const Duration(milliseconds: 450));\n      await tester.pumpWidget(rootWidget(const RegisterPage()));\n      expect(find.text(\"Password doesn't match\"), findsNothing);\n\n      await tester.pumpAndSettle();\n      await tester.dragUntilVisible(\n        find.byKey(const Key('btn_register')), // what you want to find\n        find.byType(SingleChildScrollView), // widget you want to scroll\n        const Offset(0, 50), // delta to move\n      );\n\n      /// validate email\n      await tester.tap(find.byKey(const Key('btn_register')));\n\n      /// the button should be enable\n      expect(\n        tester.widget<Button>(find.byType(Button)).onPressed,\n        isA<VoidCallback>(),\n      );\n\n      /// verify register cubit is called\n      verify(() => registerCubit.register(any())).called(1);\n    },\n  );\n}\n"
  },
  {
    "path": "test/features/general/data/models/diagnostic_response_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\n\nvoid main() {\n  const diagnosticResponse = DiagnosticResponse(\n    diagnostic: Diagnostic(status: '200', message: 'Success'),\n  );\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathDiagnosticResponse200));\n\n    /// act\n    final result = DiagnosticResponse.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(diagnosticResponse));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = diagnosticResponse.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'diagnostic': {\n        'status': '200',\n        'message': 'Success',\n      },\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/general/data/models/diagnostic_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\n\nvoid main() {\n  const diagnostic = Diagnostic(status: '200', message: 'Success');\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathDiagnostic));\n\n    /// act\n    final result = Diagnostic.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(diagnostic));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = diagnostic.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'status': '200',\n      'message': 'Success',\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/general/data/models/page_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\n\nvoid main() {\n  const page = Page(currentPage: 1, lastPage: 5, perPage: 20, total: 100);\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathPage));\n\n    /// act\n    final result = Page.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(page));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = page.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'currentPage': 1,\n      'perPage': 20,\n      'lastPage': 5,\n      'total': 100,\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/general/pages/cubit/reload_form_cubit_test.dart",
    "content": "import 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\n\nvoid main() {\n  late ReloadFormCubit reloadFormCubit;\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, isHiveEnable: false);\n    reloadFormCubit = ReloadFormCubit();\n  });\n\n  blocTest(\n    'The theme should be system',\n    build: () => reloadFormCubit,\n    act: (ReloadFormCubit settingsCubit) => settingsCubit.reload(),\n    expect: () => [\n      const ReloadFormState.initial(),\n      const ReloadFormState.formUpdated(),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/general/pages/cubit/reload_form_state_test.dart",
    "content": "import 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('ReloadFormX', () {\n    test('returns correct values for ReloadForm.initial', () {\n      const status = ReloadFormState.initial();\n      expect(status, const ReloadFormState.initial());\n    });\n\n    test('returns correct values for ReloadForm.formUpdated', () {\n      const status = ReloadFormState.formUpdated();\n      expect(status, const ReloadFormState.formUpdated());\n    });\n  });\n}\n"
  },
  {
    "path": "test/features/general/pages/main/cubit/logout_cubit_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/annotations.dart';\nimport 'package:mockito/mockito.dart';\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\nimport 'logout_cubit_test.mocks.dart';\n\n@GenerateMocks([PostLogout])\nvoid main() {\n  late LogoutCubit logoutCubit;\n  late String message;\n  late MockPostLogout mockPostLogout;\n\n  const errorMessage = 'Error message';\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'logout_cubit_test_');\n    message = DiagnosticResponse.fromJson(\n          json.decode(jsonReader(pathDiagnosticResponse200))\n              as Map<String, dynamic>,\n        ).diagnostic?.message ??\n        '';\n    mockPostLogout = MockPostLogout();\n    logoutCubit = LogoutCubit(mockPostLogout);\n  });\n\n  /// Dispose bloc\n  tearDown(() => logoutCubit.close());\n\n  ///  Initial data should be loading\n  test('Initial data should be LogoutStatus.loading', () {\n    expect(logoutCubit.state, const LogoutState.loading());\n  });\n\n  blocTest<LogoutCubit, LogoutState>(\n    'When repo success get data should be return LogoutState',\n    build: () {\n      when(mockPostLogout.call(any)).thenAnswer((_) async => Right(message));\n\n      return logoutCubit;\n    },\n    act: (cubit) => cubit.postLogout(),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const LogoutState.loading(),\n      LogoutState.success(message),\n    ],\n  );\n\n  blocTest<LogoutCubit, LogoutState>(\n    'When user input wrong credential should be return ServerFailure',\n    build: () {\n      when(mockPostLogout.call(any))\n          .thenAnswer((_) async => const Left(ServerFailure(errorMessage)));\n\n      return logoutCubit;\n    },\n    act: (LogoutCubit logoutCubit) => logoutCubit.postLogout(),\n    wait: const Duration(milliseconds: 100),\n    expect: () => const [\n      LogoutState.loading(),\n      LogoutState.failure(errorMessage),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/general/pages/main/cubit/logout_cubit_test.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/features/general/pages/main/cubit/logout_cubit_test.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i4;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter_auth_app/core/core.dart' as _i5;\nimport 'package:flutter_auth_app/features/features.dart' as _i3;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\n/// A class which mocks [PostLogout].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockPostLogout extends _i1.Mock implements _i3.PostLogout {\n  MockPostLogout() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i4.Future<_i2.Either<_i5.Failure, String>> call(_i5.NoParams? _0) =>\n      (super.noSuchMethod(\n            Invocation.method(#call, [_0]),\n            returnValue: _i4.Future<_i2.Either<_i5.Failure, String>>.value(\n              _FakeEither_0<_i5.Failure, String>(\n                this,\n                Invocation.method(#call, [_0]),\n              ),\n            ),\n          )\n          as _i4.Future<_i2.Either<_i5.Failure, String>>);\n}\n"
  },
  {
    "path": "test/features/general/pages/main/cubit/main_cubit_test.dart",
    "content": "import 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MainCubit mainCubit;\n  late DataHelper menu;\n  late MockBuildContext mockBuildContext;\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'main_cubit_test_');\n    mainCubit = MainCubit();\n    mockBuildContext = MockBuildContext();\n    menu = DataHelper(title: 'Dashboard', isSelected: true);\n  });\n\n  /// Dispose bloc\n  tearDown(() => mainCubit.close());\n\n  ///  Initial data should be loading\n  test('Initial data should be MainStatus.loading', () {\n    expect(mainCubit.state, const MainState.loading());\n  });\n\n  blocTest<MainCubit, MainState>(\n    'When initMenu success get data should be return MainState',\n    build: () => mainCubit,\n    act: (cubit) => cubit.initMenu(MockBuildContext(), mockMenu: menu),\n    wait: const Duration(milliseconds: 300),\n    expect: () => [\n      const MainState.loading(),\n      MainState.success(menu),\n    ],\n  );\n\n  test('onBackPressed returns true if current menu is dashboard', () {\n    when(mockBuildContext.dependOnInheritedWidgetOfExactType())\n        .thenReturn(null);\n    mainCubit.initMenu(mockBuildContext);\n    expect(\n      mainCubit.onBackPressed(mockBuildContext, GlobalKey<ScaffoldState>()),\n      true,\n    );\n  });\n\n  test('onBackPressed returns false if current menu is not dashboard', () {\n    when(mockBuildContext.dependOnInheritedWidgetOfExactType())\n        .thenReturn(null);\n    mainCubit.initMenu(mockBuildContext);\n    mainCubit.updateIndex(1, context: mockBuildContext, menu);\n    expect(\n      mainCubit.onBackPressed(\n        mockBuildContext,\n        GlobalKey<ScaffoldState>(),\n        isDrawerClosed: true,\n      ),\n      false,\n    );\n    expect(\n      mainCubit.onBackPressed(mockBuildContext, GlobalKey<ScaffoldState>()),\n      false,\n    );\n  });\n}\n"
  },
  {
    "path": "test/features/general/pages/main/cubit/user_cubit_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/annotations.dart';\nimport 'package:mockito/mockito.dart';\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\nimport 'user_cubit_test.mocks.dart';\n\n@GenerateMocks([GetUser])\nvoid main() {\n  late UserCubit userCubit;\n  late User user;\n  late MockGetUser mockGetUser;\n\n  const errorMessage = 'Error message';\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'user_cubit_test_');\n    user = UserResponse.fromJson(\n      json.decode(jsonReader(pathUserResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockGetUser = MockGetUser();\n    userCubit = UserCubit(mockGetUser);\n  });\n\n  /// Dispose bloc\n  tearDown(() => userCubit.close());\n\n  ///  Initial data should be loading\n  test('Initial data should be UserStatus.loading', () {\n    expect(userCubit.state, const UserState.loading());\n  });\n\n  blocTest<UserCubit, UserState>(\n    'When repo success get data should be return UserState',\n    build: () {\n      when(mockGetUser.call(any)).thenAnswer((_) async => Right(user));\n\n      return userCubit;\n    },\n    act: (cubit) => cubit.getUser(),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const UserState.loading(),\n      UserState.success(user),\n    ],\n  );\n\n  blocTest<UserCubit, UserState>(\n    'When user input wrong credential should be return ServerFailure',\n    build: () {\n      when(mockGetUser.call(any))\n          .thenAnswer((_) async => const Left(ServerFailure(errorMessage)));\n\n      return userCubit;\n    },\n    act: (UserCubit userCubit) => userCubit.getUser(),\n    wait: const Duration(milliseconds: 100),\n    expect: () => const [\n      UserState.loading(),\n      UserState.failure(errorMessage),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/general/pages/main/cubit/user_cubit_test.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/features/general/pages/main/cubit/user_cubit_test.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i4;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter_auth_app/core/core.dart' as _i5;\nimport 'package:flutter_auth_app/features/users/users.dart' as _i3;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\n/// A class which mocks [GetUser].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockGetUser extends _i1.Mock implements _i3.GetUser {\n  MockGetUser() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i4.Future<_i2.Either<_i5.Failure, _i3.User>> call(_i5.NoParams? _0) =>\n      (super.noSuchMethod(\n            Invocation.method(#call, [_0]),\n            returnValue: _i4.Future<_i2.Either<_i5.Failure, _i3.User>>.value(\n              _FakeEither_0<_i5.Failure, _i3.User>(\n                this,\n                Invocation.method(#call, [_0]),\n              ),\n            ),\n          )\n          as _i4.Future<_i2.Either<_i5.Failure, _i3.User>>);\n}\n"
  },
  {
    "path": "test/features/general/pages/main/main_page_test.dart",
    "content": "import 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockMainCubit extends MockCubit<MainState> implements MainCubit {}\n\nclass FakeMainCubit extends Fake implements MainCubit {}\n\nclass MockUserCubit extends MockCubit<UserState> implements UserCubit {}\n\nclass FakeUserCubit extends Fake implements UserCubit {}\n\nclass MockLogoutCubit extends MockCubit<LogoutState> implements LogoutCubit {}\n\nclass FakeLogoutCubit extends Fake implements LogoutCubit {}\n\nvoid main() {\n  late MainCubit mainCubit;\n  late UserCubit userCubit;\n  late LogoutCubit logoutCubit;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n    registerFallbackValue(FakeMainCubit());\n    registerFallbackValue(FakeUserCubit());\n    registerFallbackValue(FakeLogoutCubit());\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'main_page_test_');\n    mainCubit = MockMainCubit();\n    userCubit = MockUserCubit();\n    logoutCubit = MockLogoutCubit();\n  });\n\n  Widget rootWidget(Widget body) => MultiBlocProvider(\n    providers: [\n      BlocProvider.value(value: mainCubit),\n      BlocProvider.value(value: userCubit),\n      BlocProvider.value(value: logoutCubit),\n    ],\n    child: ScreenUtilInit(\n      designSize: const Size(375, 667),\n      minTextAdapt: true,\n      splitScreenMode: true,\n      builder: (_, _) => MaterialApp(\n        localizationsDelegates: const [\n          Strings.delegate,\n          GlobalMaterialLocalizations.delegate,\n          GlobalWidgetsLocalizations.delegate,\n          GlobalCupertinoLocalizations.delegate,\n        ],\n        locale: const Locale('en'),\n        supportedLocales: L10n.all,\n        theme: themeLight(MockBuildContext()),\n        home: body,\n      ),\n    ),\n  );\n\n  testWidgets('MainPage displays correctly', (WidgetTester tester) async {\n    when(() => mainCubit.state).thenReturn(\n      MainState.success(\n        DataHelper(\n          title: Strings.of(MockBuildContext())?.settings ?? 'Settings',\n        ),\n      ),\n    );\n    when(() => mainCubit.initMenu(MockBuildContext())).thenAnswer((_) {});\n\n    when(() => userCubit.state).thenReturn(const UserState.success(null));\n    when(() => userCubit.getUser()).thenAnswer((_) async {});\n\n    when(() => logoutCubit.state).thenReturn(const LogoutState.loading());\n\n    await tester.pumpWidget(rootWidget(const MainPage(child: SettingsPage())));\n\n    verifyNever(() => mainCubit.initMenu(MockBuildContext()));\n    verifyNever(() => userCubit.getUser()).called(0);\n\n    expect(find.text('Settings'), findsOneWidget);\n    expect(find.byType(AppBar), findsOneWidget);\n    expect(find.byType(SettingsPage), findsOneWidget);\n  });\n}\n"
  },
  {
    "path": "test/features/general/pages/main/menu_drawer_test.dart",
    "content": "import 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/general/general.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockUserCubit extends MockCubit<UserState> implements UserCubit {}\n\nclass FakeUserCubit extends Fake implements UserCubit {}\n\nvoid main() {\n  late UserCubit userCubit;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n    registerFallbackValue(FakeUserCubit());\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, isHiveEnable: false);\n    userCubit = MockUserCubit();\n  });\n\n  Widget rootWidget(Widget body) => BlocProvider.value(\n    value: userCubit,\n    child: ScreenUtilInit(\n      designSize: const Size(375, 667),\n      minTextAdapt: true,\n      splitScreenMode: true,\n      builder: (_, _) => MaterialApp(\n        localizationsDelegates: const [\n          Strings.delegate,\n          GlobalMaterialLocalizations.delegate,\n          GlobalWidgetsLocalizations.delegate,\n          GlobalCupertinoLocalizations.delegate,\n        ],\n        locale: const Locale('en'),\n        supportedLocales: L10n.all,\n        theme: themeLight(MockBuildContext()),\n        home: body,\n      ),\n    ),\n  );\n\n  group('MenuDrawer', () {\n    testWidgets('displays user information', (WidgetTester tester) async {\n      when(() => userCubit.state).thenReturn(const UserState.success(null));\n\n      when(() => userCubit.getUser()).thenAnswer((_) async {});\n\n      await tester.pumpWidget(\n        rootWidget(\n          MenuDrawer(\n            dataMenu: const [],\n            currentIndex: (_) {},\n            onLogoutPressed: () {},\n          ),\n        ),\n      );\n\n      expect(find.byType(CircleImage), findsOneWidget);\n    });\n\n    testWidgets('displays menu items', (WidgetTester tester) async {\n      when(() => userCubit.state).thenReturn(const UserState.success(null));\n\n      when(() => userCubit.getUser()).thenAnswer((_) async {});\n\n      final dataMenu = [\n        DataHelper(title: 'Dashboard'),\n        DataHelper(title: 'Settings'),\n        DataHelper(title: 'Logout'),\n      ];\n\n      await tester.pumpWidget(\n        rootWidget(\n          MenuDrawer(\n            dataMenu: dataMenu,\n            currentIndex: (_) {},\n            onLogoutPressed: () {},\n          ),\n        ),\n      );\n\n      for (final item in dataMenu) {\n        expect(find.text(item.title!), findsOneWidget);\n      }\n    });\n\n    testWidgets('calls onLogoutPressed when logout is tapped', (\n      WidgetTester tester,\n    ) async {\n      bool logoutCalled = false;\n      when(() => userCubit.state).thenReturn(const UserState.success(null));\n\n      when(() => userCubit.getUser()).thenAnswer((_) async {});\n\n      await tester.pumpWidget(\n        rootWidget(\n          MenuDrawer(\n            dataMenu: [DataHelper(title: 'Logout')],\n            currentIndex: (_) {},\n            onLogoutPressed: () {\n              logoutCalled = true;\n            },\n          ),\n        ),\n      );\n\n      await tester.tap(find.text('Logout'));\n      await tester.pump();\n\n      expect(logoutCalled, isTrue);\n    });\n  });\n}\n"
  },
  {
    "path": "test/features/general/pages/settings/cubit/settings_cubit_test.dart",
    "content": "import 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\n\nvoid main() {\n  late SettingsCubit settingsCubit;\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'settings_cubit_test_');\n    settingsCubit = SettingsCubit();\n  });\n\n  blocTest(\n    'The theme should be system',\n    build: () => settingsCubit,\n    act: (SettingsCubit settingsCubit) =>\n        settingsCubit.updateTheme(ActiveTheme.system),\n    expect: () => [\n      isA<DataHelper>(),\n    ],\n  );\n\n  blocTest(\n    'The language should be updated',\n    build: () => settingsCubit,\n    act: (SettingsCubit settingsCubit) => settingsCubit.updateLanguage('en'),\n    expect: () => [\n      isA<DataHelper>(),\n      isA<DataHelper>(),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/general/pages/settings/settings_page_test.dart",
    "content": "import 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockSettingsCubit extends MockCubit<DataHelper>\n    implements SettingsCubit {}\n\nvoid main() {\n  late SettingsCubit settingsCubit;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'settings_page_test_');\n    settingsCubit = MockSettingsCubit();\n  });\n\n  Widget rootWidget(Widget body) => BlocProvider<SettingsCubit>.value(\n    value: settingsCubit,\n    child: ScreenUtilInit(\n      designSize: const Size(375, 667),\n      minTextAdapt: true,\n      splitScreenMode: true,\n      builder: (_, _) => MaterialApp(\n        localizationsDelegates: const [\n          Strings.delegate,\n          GlobalMaterialLocalizations.delegate,\n          GlobalWidgetsLocalizations.delegate,\n          GlobalCupertinoLocalizations.delegate,\n        ],\n        locale: const Locale('en'),\n        theme: themeLight(MockBuildContext()),\n        home: body,\n      ),\n    ),\n  );\n\n  testWidgets('trigger update theme when dropdown theme tapped ', (\n    tester,\n  ) async {\n    when(() => settingsCubit.state).thenReturn(DataHelper());\n\n    await tester.pumpWidget(rootWidget(const SettingsPage()));\n    await tester.pumpAndSettle();\n    final dropdown = find.byKey(const Key('dropdown_theme')).last;\n\n    await tester.tap(dropdown);\n    await tester.pumpAndSettle();\n\n    /// Tap  the first Item\n    final dropdownItem = find.text('Theme Dark').last;\n\n    await tester.tap(dropdownItem);\n    await tester.pumpAndSettle();\n\n    verify(() => settingsCubit.updateTheme(ActiveTheme.dark)).called(1);\n  });\n\n  testWidgets(\n    'trigger update language when dropdown language tapped in English',\n    (tester) async {\n      when(() => settingsCubit.state).thenReturn(DataHelper());\n\n      await tester.pumpWidget(rootWidget(const SettingsPage()));\n      await tester.pumpAndSettle();\n      final dropdown = find.byKey(const Key('dropdown_language')).last;\n\n      await tester.tap(dropdown);\n      await tester.pumpAndSettle();\n\n      /// Tap  the first Item\n      final dropdownItem = find.text('English').last;\n\n      await tester.tap(dropdownItem);\n      await tester.pumpAndSettle();\n\n      verify(() => settingsCubit.updateLanguage('en')).called(1);\n    },\n  );\n\n  testWidgets(\n    'trigger update language when dropdown language tapped in Bahasa ',\n    (tester) async {\n      when(() => settingsCubit.state).thenReturn(DataHelper());\n\n      MainBoxMixin().addData(MainBoxKeys.locale, 'id');\n      await tester.pumpWidget(rootWidget(const SettingsPage()));\n      await tester.pumpAndSettle();\n      final dropdown = find.byKey(const Key('dropdown_language')).last;\n\n      await tester.tap(dropdown);\n      await tester.pumpAndSettle();\n\n      /// Tap  the first Item\n      final dropdownItem = find.text('Bahasa').last;\n\n      await tester.tap(dropdownItem);\n      await tester.pumpAndSettle();\n\n      verify(() => settingsCubit.updateLanguage('id')).called(1);\n    },\n  );\n}\n"
  },
  {
    "path": "test/features/general/pages/splashscreen/cubit/general_token_cubit_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/annotations.dart';\nimport 'package:mockito/mockito.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nimport 'general_token_cubit_test.mocks.dart';\n\n@GenerateMocks([PostGeneralToken])\nvoid main() {\n  late GeneralTokenCubit generalTokenCubit;\n  late GeneralToken generalToken;\n  late MockPostGeneralToken mockPostGeneralToken;\n\n  const generalTokenParams = GeneralTokenParams(\n    clientId: 'apimock',\n    clientSecret: 'apimock_secret',\n  );\n  const errorMessage = 'Unauthorized';\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'auth_cubit_test_');\n    generalToken = GeneralTokenResponse.fromJson(\n      json.decode(jsonReader(pathGeneralTokenResponse200))\n          as Map<String, dynamic>,\n    ).toEntity();\n    mockPostGeneralToken = MockPostGeneralToken();\n    generalTokenCubit = GeneralTokenCubit(mockPostGeneralToken);\n  });\n\n  /// Dispose bloc\n  tearDown(() => generalTokenCubit.close());\n\n  ///  Initial data should be loading\n  test('Initial data should be AuthStatus.loading', () {\n    expect(generalTokenCubit.state, const GeneralTokenState.loading());\n  });\n\n  blocTest<GeneralTokenCubit, GeneralTokenState>(\n    'When repo success get data should be return GeneralTokenState',\n    build: () {\n      when(mockPostGeneralToken.call(generalTokenParams))\n          .thenAnswer((_) async => Right(generalToken));\n\n      return generalTokenCubit;\n    },\n    act: (cubit) => cubit.generalToken(generalTokenParams),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const GeneralTokenState.loading(),\n      GeneralTokenState.success(generalToken.token),\n    ],\n  );\n\n  blocTest<GeneralTokenCubit, GeneralTokenState>(\n    'When user input wrong credential should be return ServerFailure',\n    build: () {\n      when(mockPostGeneralToken.call(generalTokenParams))\n          .thenAnswer((_) async => const Left(ServerFailure(errorMessage)));\n\n      return generalTokenCubit;\n    },\n    act: (GeneralTokenCubit generalTokenCubit) =>\n        generalTokenCubit.generalToken(generalTokenParams),\n    wait: const Duration(milliseconds: 100),\n    expect: () => const [\n      GeneralTokenState.loading(),\n      GeneralTokenState.failure(errorMessage),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/general/pages/splashscreen/cubit/general_token_cubit_test.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/features/general/pages/splashscreen/cubit/general_token_cubit_test.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i4;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter_auth_app/core/core.dart' as _i5;\nimport 'package:flutter_auth_app/features/features.dart' as _i3;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\n/// A class which mocks [PostGeneralToken].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockPostGeneralToken extends _i1.Mock implements _i3.PostGeneralToken {\n  MockPostGeneralToken() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i4.Future<_i2.Either<_i5.Failure, _i3.GeneralToken>> call(\n    _i3.GeneralTokenParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#call, [params]),\n            returnValue:\n                _i4.Future<_i2.Either<_i5.Failure, _i3.GeneralToken>>.value(\n                  _FakeEither_0<_i5.Failure, _i3.GeneralToken>(\n                    this,\n                    Invocation.method(#call, [params]),\n                  ),\n                ),\n          )\n          as _i4.Future<_i2.Either<_i5.Failure, _i3.GeneralToken>>);\n}\n"
  },
  {
    "path": "test/features/general/pages/splashscreen/cubit/general_token_state_test.dart",
    "content": "import 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('GeneralTokenX', () {\n    test('returns correct values for GeneralToken.loading', () {\n      const status = GeneralTokenState.loading();\n      expect(status, const GeneralTokenState.loading());\n    });\n\n    test('returns correct values for GeneralToken.success', () {\n      const status = GeneralTokenState.success(null);\n      expect(status, const GeneralTokenState.success(null));\n    });\n\n    test('returns correct values for GeneralToken.failure', () {\n      const status = GeneralTokenState.failure('');\n      expect(status, const GeneralTokenState.failure(''));\n    });\n  });\n}\n"
  },
  {
    "path": "test/features/general/pages/splashscreen/splash_screen_page_test.dart",
    "content": "import 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockGeneralTokenCubit extends MockCubit<GeneralTokenState>\n    implements GeneralTokenCubit {}\n\nclass FakeGeneralTokenCubit extends Fake implements GeneralTokenCubit {}\n\nvoid main() {\n  late GeneralTokenCubit generalTokenCubit;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n    registerFallbackValue(FakeGeneralTokenCubit());\n    registerFallbackValue(const GeneralTokenParams());\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, isHiveEnable: false);\n    generalTokenCubit = MockGeneralTokenCubit();\n  });\n\n  Widget rootWidget(Widget body, {bool isDarkTheme = false}) =>\n      BlocProvider<GeneralTokenCubit>.value(\n        value: generalTokenCubit,\n        child: ScreenUtilInit(\n          designSize: const Size(375, 667),\n          minTextAdapt: true,\n          splitScreenMode: true,\n          builder: (_, _) => MaterialApp(\n            localizationsDelegates: const [\n              Strings.delegate,\n              GlobalMaterialLocalizations.delegate,\n              GlobalWidgetsLocalizations.delegate,\n              GlobalCupertinoLocalizations.delegate,\n            ],\n            locale: const Locale('en'),\n            supportedLocales: L10n.all,\n            theme: isDarkTheme\n                ? themeDark(MockBuildContext())\n                : themeLight(MockBuildContext()),\n            home: body,\n          ),\n        ),\n      );\n\n  testWidgets('renders SplashScreenPage in Light and DarkTheme', (\n    tester,\n  ) async {\n    when(\n      () => generalTokenCubit.state,\n    ).thenReturn(const GeneralTokenState.success(null));\n    when(() => generalTokenCubit.generalToken(any())).thenAnswer((_) async {});\n\n    await tester.pumpWidget(rootWidget(SplashScreenPage()));\n    await tester.pumpAndSettle();\n    expect(\n      find.byWidgetPredicate((widget) {\n        if (widget is Image) {\n          return widget.image == AssetImage(Images.icLauncher);\n        }\n        return false;\n      }),\n      findsOneWidget,\n    );\n\n    /// change theme to dark\n    await tester.pumpWidget(rootWidget(SplashScreenPage(), isDarkTheme: true));\n    await tester\n        .pumpAndSettle(); // Verify that the dark theme image is displayed\n    expect(\n      find.byWidgetPredicate((widget) {\n        if (widget is Image) {\n          return widget.image == AssetImage(Images.icLauncherDark);\n        }\n        return false;\n      }),\n      findsOneWidget,\n    );\n  });\n\n  testWidgets(\n    'renders SplashScreenPage and validate if general token is called',\n    (tester) async {\n      when(\n        () => generalTokenCubit.state,\n      ).thenReturn(const GeneralTokenState.success(null));\n      when(\n        () => generalTokenCubit.generalToken(any()),\n      ).thenAnswer((_) async {});\n\n      await tester.pumpWidget(rootWidget(SplashScreenPage()));\n      await tester.pumpAndSettle();\n\n      expect(find.byType(Parent), findsNWidgets(1));\n      expect(find.byType(ColoredBox), findsNWidgets(1));\n      expect(find.byType(Center), findsNWidgets(1));\n      expect(find.byType(Image), findsNWidgets(1));\n\n      await tester.pumpAndSettle();\n    },\n  );\n}\n"
  },
  {
    "path": "test/features/users/data/datasources/models/users_response_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nvoid main() {\n  const usersResponse = UsersResponse(\n    diagnostic: Diagnostic(\n      status: '200',\n      message: 'Success',\n    ),\n    data: [\n      DataUser(\n        id: '8364aa6f-6887-4502-a6b0-62f082196476',\n        name: 'Mudassir',\n        email: 'mudassir@lazycatlabs.com',\n        photo:\n            'https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png',\n        verified: false,\n        createdAt: '2024-08-25T15:04:28.191067',\n        updatedAt: '2024-08-25T15:04:28.191067',\n      ),\n    ],\n    page: Page(currentPage: 1, lastPage: 5, total: 100, perPage: 20),\n  );\n\n  test('from json, should return a valid model from json', () {\n    /// arrange\n    final jsonMap = json.decode(jsonReader(pathUsersResponse200));\n\n    /// act\n    final result = UsersResponse.fromJson(jsonMap as Map<String, dynamic>);\n\n    /// assert\n    expect(result, equals(usersResponse));\n  });\n\n  test('to json, should return a json map containing proper data', () {\n    /// act\n    final result = usersResponse.toJson();\n\n    /// arrange\n    final exceptedJson = {\n      'diagnostic': {\n        'status': '200',\n        'message': 'Success',\n      },\n      'data': [\n        {\n          'id': '8364aa6f-6887-4502-a6b0-62f082196476',\n          'name': 'Mudassir',\n          'email': 'mudassir@lazycatlabs.com',\n          'photo':\n              'https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png',\n          'verified': false,\n          'createdAt': '2024-08-25T15:04:28.191067',\n          'updatedAt': '2024-08-25T15:04:28.191067',\n        }\n      ],\n      'page': {\n        'currentPage': 1,\n        'perPage': 20,\n        'lastPage': 5,\n        'total': 100,\n      },\n    };\n\n    /// assert\n    expect(result, equals(exceptedJson));\n  });\n}\n"
  },
  {
    "path": "test/features/users/data/datasources/repositories/users_remote_datasources_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:http_mock_adapter/http_mock_adapter.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\n\nvoid main() {\n  late DioAdapter dioAdapter;\n  late UsersRemoteDatasourceImpl dataSource;\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(\n      isUnitTest: true,\n      prefixBox: 'users_remote_datasource_test_',\n    );\n    dioAdapter = DioAdapter(dio: sl<DioClient>().dio);\n    dataSource = UsersRemoteDatasourceImpl(sl<DioClient>());\n  });\n\n  group('users', () {\n    const usersParams = UsersParams();\n    final usersModel = UsersResponse.fromJson(\n      json.decode(jsonReader(pathUsersResponse200)) as Map<String, dynamic>,\n    );\n    final usersEmptyModel = UsersResponse.fromJson(\n      json.decode(jsonReader(pathUsersEmptyResponse200))\n          as Map<String, dynamic>,\n    );\n\n    test(\n      'should return list user success model when response code is 200',\n      () async {\n        /// arrange\n        dioAdapter.onGet(\n          ListAPI.users,\n          (server) => server.reply(\n            200,\n            json.decode(jsonReader(pathUsersResponse200)),\n          ),\n          queryParameters: usersParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.users(usersParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, null),\n          (r) => expect(r, usersModel),\n        );\n      },\n    );\n\n    test(\n      'should return empty list user success model when response code is 200',\n      () async {\n        /// arrange\n        dioAdapter.onGet(\n          ListAPI.users,\n          (server) => server.reply(\n            200,\n            json.decode(jsonReader(pathUsersEmptyResponse200)),\n          ),\n          queryParameters: usersParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.users(usersParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, null),\n          (r) => expect(r, usersEmptyModel),\n        );\n      },\n    );\n\n    test(\n      'should return user unsuccessful model when response code is 400',\n      () async {\n        /// arrange\n        dioAdapter.onGet(\n          ListAPI.users,\n          (server) => server.reply(\n            400,\n            json.decode(jsonReader(pathUsersResponse200)),\n          ),\n          queryParameters: usersParams.toJson(),\n        );\n\n        /// act\n        final result = await dataSource.users(usersParams);\n\n        /// assert\n        result.fold(\n          (l) => expect(l, isA<ServerFailure>()),\n          (r) => expect(r, null),\n        );\n      },\n    );\n  });\n\n  group('user', () {\n    final userModel = UserResponse.fromJson(\n      json.decode(jsonReader(pathUserResponse200)) as Map<String, dynamic>,\n    );\n\n    test(\n      'should return list user success model when response code is 200',\n      () async {\n        /// arrange\n        dioAdapter.onGet(\n          ListAPI.user,\n          (server) => server.reply(\n            200,\n            json.decode(jsonReader(pathUserResponse200)),\n          ),\n        );\n\n        /// act\n        final result = await dataSource.user();\n\n        /// assert\n        result.fold(\n          (l) => expect(l, null),\n          (r) => expect(r, userModel),\n        );\n      },\n    );\n\n    test(\n      'should return user unsuccessful model when response code is 400',\n      () async {\n        /// arrange\n        dioAdapter.onGet(\n          ListAPI.user,\n          (server) => server.reply(\n            400,\n            json.decode(jsonReader(pathUsersResponse200)),\n          ),\n        );\n\n        /// act\n        final result = await dataSource.user();\n\n        /// assert\n        result.fold(\n          (l) => expect(l, isA<ServerFailure>()),\n          (r) => expect(r, null),\n        );\n      },\n    );\n  });\n}\n"
  },
  {
    "path": "test/features/users/data/repositories/users_repository_impl_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockUsersRemoteDatasource mockUsersRemoteDatasource;\n  late UsersRepositoryImpl authRepositoryImpl;\n  late Users users;\n  late User user;\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(\n      isUnitTest: true,\n      prefixBox: 'users_repository_impl_test_',\n    );\n    mockUsersRemoteDatasource = MockUsersRemoteDatasource();\n    authRepositoryImpl = UsersRepositoryImpl(mockUsersRemoteDatasource);\n    users = UsersResponse.fromJson(\n      json.decode(jsonReader(pathUsersResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    user = UserResponse.fromJson(\n      json.decode(jsonReader(pathUserResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n  });\n\n  group('users', () {\n    const usersParams = UsersParams();\n    const usersParamsEmpty = UsersParams(page: 3);\n\n    test('should return list users when call data is successful', () async {\n      // arrange\n      when(mockUsersRemoteDatasource.users(usersParams)).thenAnswer(\n        (_) async => Right(\n          UsersResponse.fromJson(\n            json.decode(jsonReader(pathUsersResponse200))\n                as Map<String, dynamic>,\n          ),\n        ),\n      );\n\n      // act\n      final result = await authRepositoryImpl.users(usersParams);\n\n      // assert\n      verify(mockUsersRemoteDatasource.users(usersParams));\n      expect(result, equals(Right(users)));\n    });\n\n    test(\n      'should return empty list users when call data is successful',\n      () async {\n        // arrange\n        when(mockUsersRemoteDatasource.users(usersParamsEmpty)).thenAnswer(\n          (_) async => Left(NoDataFailure()),\n        );\n\n        // act\n        final result = await authRepositoryImpl.users(usersParamsEmpty);\n\n        // assert\n        verify(mockUsersRemoteDatasource.users(usersParamsEmpty));\n        expect(result, equals(Left(NoDataFailure())));\n      },\n    );\n\n    test(\n      'should return server failure when call data is unsuccessful',\n      () async {\n        // arrange\n        when(mockUsersRemoteDatasource.users(usersParams))\n            .thenAnswer((_) async => const Left(ServerFailure('')));\n\n        // act\n        final result = await authRepositoryImpl.users(usersParams);\n\n        // assert\n        verify(mockUsersRemoteDatasource.users(usersParams));\n        expect(result, equals(const Left(ServerFailure(''))));\n      },\n    );\n  });\n\n  group('user', () {\n    test('should return list users when call data is successful', () async {\n      // arrange\n      when(mockUsersRemoteDatasource.user()).thenAnswer(\n        (_) async => Right(\n          UserResponse.fromJson(\n            json.decode(jsonReader(pathUserResponse200))\n                as Map<String, dynamic>,\n          ),\n        ),\n      );\n\n      // act\n      final result = await authRepositoryImpl.user();\n\n      // assert\n      verify(mockUsersRemoteDatasource.user());\n      expect(result, equals(Right(user)));\n    });\n\n    test(\n      'should return empty list users when call data is successful',\n      () async {\n        // arrange\n        when(mockUsersRemoteDatasource.user()).thenAnswer(\n          (_) async => Left(NoDataFailure()),\n        );\n\n        // act\n        final result = await authRepositoryImpl.user();\n\n        // assert\n        verify(mockUsersRemoteDatasource.user());\n        expect(result, equals(Left(NoDataFailure())));\n      },\n    );\n\n    test(\n      'should return server failure when call data is unsuccessful',\n      () async {\n        // arrange\n        when(mockUsersRemoteDatasource.user())\n            .thenAnswer((_) async => const Left(ServerFailure('')));\n\n        // act\n        final result = await authRepositoryImpl.user();\n\n        // assert\n        verify(mockUsersRemoteDatasource.user());\n        expect(result, equals(const Left(ServerFailure(''))));\n      },\n    );\n  });\n}\n"
  },
  {
    "path": "test/features/users/domain/usecases/get_users_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/mockito.dart';\n\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  late MockUsersRepository mockUsersRepository;\n  late GetUsers getUsers;\n  late Users users;\n  const usersParams = UsersParams();\n\n  setUp(() {\n    users = UsersResponse.fromJson(\n      json.decode(jsonReader(pathUsersResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockUsersRepository = MockUsersRepository();\n    getUsers = GetUsers(mockUsersRepository);\n  });\n\n  test('should get users from the repository', () async {\n    /// arrange\n    when(mockUsersRepository.users(usersParams))\n        .thenAnswer((_) async => Right(users));\n\n    /// act\n    final result = await getUsers.call(usersParams);\n\n    /// assert\n    expect(result, equals(Right(users)));\n  });\n\n  test('parse UsersParams to json', () {\n    /// act\n    final result = usersParams.toJson();\n    final expected = {'page': 1};\n\n    /// assert\n    expect(result, equals(expected));\n  });\n\n  test('parse UsersParams from json', () {\n    /// act\n    final params = UsersParams.fromJson({'page': 1});\n\n    /// assert\n    expect(params, equals(usersParams));\n  });\n}\n"
  },
  {
    "path": "test/features/users/pages/dashboard/cubit/users_cubit_test.dart",
    "content": "import 'dart:convert';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:dartz/dartz.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:mockito/annotations.dart';\nimport 'package:mockito/mockito.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../../helpers/json_reader.dart';\nimport '../../../../../helpers/paths.dart';\nimport 'users_cubit_test.mocks.dart';\n\n@GenerateMocks([GetUsers])\nvoid main() {\n  late UsersCubit userCubit;\n  late MockGetUsers mockGetUsers;\n  late Users users;\n\n  const dummyUsersRequest1 = UsersParams();\n  const dummyUsersRequest2 = UsersParams(page: 2);\n  const errorMessage = '';\n\n  /// Initialize data\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'users_cubit_test_');\n\n    users = UsersResponse.fromJson(\n      json.decode(jsonReader(pathUsersResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n    mockGetUsers = MockGetUsers();\n    userCubit = UsersCubit(mockGetUsers);\n  });\n\n  /// Dispose bloc\n  tearDown(() {\n    userCubit.close();\n  });\n\n  ///  Initial data should be loading\n  test('Initial data should be UsersStatus.loading', () {\n    expect(userCubit.state, const UsersState.loading());\n  });\n\n  blocTest<UsersCubit, UsersState>(\n    'When repo success get data should be return UsersState and loading only show when request page 1',\n    build: () {\n      when(mockGetUsers.call(dummyUsersRequest1))\n          .thenAnswer((_) async => Right(users));\n\n      return userCubit;\n    },\n    act: (UsersCubit usersCubit) => usersCubit.fetchUsers(dummyUsersRequest1),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const UsersState.loading(),\n      UsersState.success(users),\n    ],\n  );\n\n  blocTest<UsersCubit, UsersState>(\n    'When request page 2, isLoading should not execute',\n    build: () {\n      when(mockGetUsers.call(dummyUsersRequest2))\n          .thenAnswer((_) async => Right(users));\n\n      return userCubit;\n    },\n    act: (UsersCubit usersCubit) => usersCubit.fetchUsers(dummyUsersRequest2),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const UsersState.loading(),\n      UsersState.success(users),\n    ],\n  );\n\n  blocTest<UsersCubit, UsersState>(\n    'When call nextPage',\n    build: () {\n      when(mockGetUsers.call(any)).thenAnswer((_) async => Right(users));\n      userCubit.lastPage = 2;\n      return userCubit;\n    },\n    act: (UsersCubit usersCubit) => usersCubit.nextPage(),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      UsersState.success(users),\n    ],\n  );\n\n  blocTest<UsersCubit, UsersState>(\n    'When failed to get data from server',\n    build: () {\n      when(\n        mockGetUsers.call(dummyUsersRequest1),\n      ).thenAnswer((_) async => const Left(ServerFailure(errorMessage)));\n\n      return UsersCubit(mockGetUsers);\n    },\n    act: (UsersCubit usersCubit) => usersCubit.fetchUsers(dummyUsersRequest1),\n    wait: const Duration(milliseconds: 100),\n    expect: () => const [\n      UsersState.loading(),\n      UsersState.failure(errorMessage),\n    ],\n  );\n\n  blocTest<UsersCubit, UsersState>(\n    'When no data from server',\n    build: () {\n      when(mockGetUsers.call(dummyUsersRequest2))\n          .thenAnswer((_) async => Left(NoDataFailure()));\n\n      return UsersCubit(mockGetUsers);\n    },\n    act: (UsersCubit usersCubit) => usersCubit.fetchUsers(dummyUsersRequest2),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const UsersState.loading(),\n      const UsersState.empty(),\n    ],\n  );\n\n  blocTest<UsersCubit, UsersState>(\n    'When request refreshUsers',\n    build: () {\n      when(mockGetUsers.call(dummyUsersRequest1))\n          .thenAnswer((_) async => Right(users));\n\n      return UsersCubit(mockGetUsers);\n    },\n    act: (UsersCubit usersCubit) => usersCubit.refresh(),\n    wait: const Duration(milliseconds: 100),\n    expect: () => [\n      const UsersState.loading(),\n      UsersState.success(users),\n    ],\n  );\n}\n"
  },
  {
    "path": "test/features/users/pages/dashboard/cubit/users_cubit_test.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/features/users/pages/dashboard/cubit/users_cubit_test.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i4;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter_auth_app/core/core.dart' as _i5;\nimport 'package:flutter_auth_app/features/users/users.dart' as _i3;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\n/// A class which mocks [GetUsers].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockGetUsers extends _i1.Mock implements _i3.GetUsers {\n  MockGetUsers() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i4.Future<_i2.Either<_i5.Failure, _i3.Users>> call(\n    _i3.UsersParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#call, [params]),\n            returnValue: _i4.Future<_i2.Either<_i5.Failure, _i3.Users>>.value(\n              _FakeEither_0<_i5.Failure, _i3.Users>(\n                this,\n                Invocation.method(#call, [params]),\n              ),\n            ),\n          )\n          as _i4.Future<_i2.Either<_i5.Failure, _i3.Users>>);\n}\n"
  },
  {
    "path": "test/features/users/pages/dashboard/cubit/users_state_test.dart",
    "content": "import 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('UsersStatusX', () {\n    test('returns correct values for UsersStatus.loading', () {\n      const status = UsersState.loading();\n      expect(status, const UsersState.loading());\n    });\n\n    test('returns correct values for UsersStatus.success', () {\n      const status = UsersState.success(Users());\n      expect(status, const UsersState.success(Users()));\n    });\n\n    test('returns correct values for UsersStatus.failure', () {\n      const status = UsersState.failure('');\n      expect(status, const UsersState.failure(''));\n    });\n    test('returns correct values for UsersStatus.empty', () {\n      const status = UsersState.empty();\n      expect(status, const UsersState.empty());\n    });\n  });\n}\n"
  },
  {
    "path": "test/features/users/pages/dashboard/dashboard_page_test.dart",
    "content": "import 'dart:convert';\nimport 'dart:io';\n\nimport 'package:bloc_test/bloc_test.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/dependencies_injection.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:flutter_bloc/flutter_bloc.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n// ignore: depend_on_referenced_packages\nimport 'package:mocktail/mocktail.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nimport '../../../../helpers/fake_path_provider_platform.dart';\nimport '../../../../helpers/json_reader.dart';\nimport '../../../../helpers/paths.dart';\nimport '../../../../helpers/test_mock.mocks.dart';\n\nclass MockUsersCubit extends MockCubit<UsersState> implements UsersCubit {}\n\nclass FakeUsersState extends Fake {}\n\nvoid main() {\n  late UsersCubit usersCubit;\n  late Users users;\n\n  setUpAll(() {\n    HttpOverrides.global = null;\n    registerFallbackValue(FakeUsersState());\n    registerFallbackValue(const UsersParams());\n  });\n\n  setUp(() async {\n    TestWidgetsFlutterBinding.ensureInitialized();\n    PathProviderPlatform.instance = FakePathProvider();\n    await serviceLocator(isUnitTest: true, prefixBox: 'dashboard_page_test_');\n    usersCubit = MockUsersCubit();\n    users = UsersResponse.fromJson(\n      json.decode(jsonReader(pathUsersResponse200)) as Map<String, dynamic>,\n    ).toEntity();\n  });\n\n  Widget rootWidget(Widget body) => BlocProvider<UsersCubit>.value(\n    value: usersCubit,\n    child: ScreenUtilInit(\n      designSize: const Size(375, 667),\n      minTextAdapt: true,\n      splitScreenMode: true,\n      builder: (_, _) => MaterialApp(\n        localizationsDelegates: const [\n          Strings.delegate,\n          GlobalMaterialLocalizations.delegate,\n          GlobalWidgetsLocalizations.delegate,\n          GlobalCupertinoLocalizations.delegate,\n        ],\n        locale: const Locale('en'),\n        theme: themeLight(MockBuildContext()),\n        home: body,\n      ),\n    ),\n  );\n\n  testWidgets('renders DashboardPage for UsersStatus.loading', (tester) async {\n    when(() => usersCubit.state).thenReturn(const UsersState.loading());\n    await tester.pumpWidget(rootWidget(const DashboardPage()));\n    await tester.pump();\n    expect(find.byType(Loading), findsOneWidget);\n  });\n\n  testWidgets('renders DashboardPage for UsersStatus.empty', (tester) async {\n    when(() => usersCubit.state).thenReturn(const UsersState.empty());\n    await tester.pumpWidget(rootWidget(const DashboardPage()));\n    await tester.pump();\n    expect(find.byType(Empty), findsOneWidget);\n  });\n\n  testWidgets('renders DashboardPage for UsersStatus.failure', (tester) async {\n    when(() => usersCubit.state).thenReturn(const UsersState.failure(''));\n    await tester.pumpWidget(rootWidget(const DashboardPage()));\n    await tester.pump();\n    expect(find.byType(Empty), findsOneWidget);\n  });\n\n  testWidgets('renders DashboardPage for UsersStatus.success', (tester) async {\n    when(() => usersCubit.state).thenReturn(UsersState.success(users));\n    when(() => usersCubit.fetchUsers(any())).thenAnswer((_) async {});\n\n    await tester.pumpWidget(rootWidget(const DashboardPage()));\n\n    /// Do loops to waiting refresh indicator showing\n    /// instead using tester.pumpAndSettle it's will result time out error\n    for (int i = 0; i < 5; i++) {\n      await tester.pump(const Duration(milliseconds: 100));\n    }\n\n    expect(find.byType(ListView), findsOneWidget);\n  });\n\n  testWidgets('trigger refresh when pull to refresh', (tester) async {\n    when(() => usersCubit.state).thenReturn(UsersState.success(users));\n    when(() => usersCubit.refresh()).thenAnswer((_) async {});\n\n    await tester.pumpWidget(rootWidget(const DashboardPage()));\n\n    /// Do loops to waiting refresh indicator showing\n    /// instead using tester.pumpAndSettle it's will result time out error\n    for (int i = 0; i < 5; i++) {\n      await tester.pump(const Duration(milliseconds: 100));\n    }\n\n    /// Simulate pull to refresh\n\n    // Do loops to wait for the refresh indicator to show\n    for (int i = 0; i < 5; i++) {\n      await tester.pump(const Duration(milliseconds: 100));\n    }\n    await tester.fling(find.text('Mudassir'), const Offset(0.0, 500.0), 1000.0);\n\n    /// Do loops to waiting refresh indicator showing\n    /// instead using tester.pumpAndSettle it's will result time out error\n    for (int i = 0; i < 5; i++) {\n      await tester.pump(const Duration(milliseconds: 100));\n    }\n\n    // Verify that the refresh method was called\n    verify(() => usersCubit.refresh()).called(1);\n  });\n}\n"
  },
  {
    "path": "test/helpers/fake_path_provider_platform.dart",
    "content": "import 'package:flutter_test/flutter_test.dart';\n\n/// ignore: depend_on_referenced_packages\nimport 'package:path_provider_platform_interface/path_provider_platform_interface.dart';\n\nclass FakePathProvider extends PathProviderPlatform {\n  @override\n  Future<String?> getApplicationDocumentsPath() async => '.docs';\n\n  @override\n  Future<String?> getDownloadsPath() async => '.downloads';\n\n  @override\n  Future<String?> getTemporaryPath() async => '.temp';\n\n  @override\n  Future<String?> getApplicationSupportPath() async => '.applicationSupport';\n}\n"
  },
  {
    "path": "test/helpers/json_reader.dart",
    "content": "import 'dart:io';\n\nString jsonReader(String name) {\n  var dir = Directory.current.path;\n  if (dir.endsWith('/test')) {\n    dir = dir.replaceAll('/test', '');\n  }\n\n  return File('$dir/test/$name').readAsStringSync();\n}\n"
  },
  {
    "path": "test/helpers/paths.dart",
    "content": "const pathRegisterResponse200 = 'helpers/stubs/register_response_200.json';\nconst pathRegisterResponse400 = 'helpers/stubs/register_response_400.json';\nconst pathGeneralTokenResponse200 =\n    'helpers/stubs/general_token_response_200.json';\nconst pathGeneralTokenResponse401 =\n    'helpers/stubs/general_token_response_401.json';\nconst pathLoginResponse200 = 'helpers/stubs/login_response_200.json';\nconst pathLoginResponse401 = 'helpers/stubs/login_response_401.json';\nconst pathUsersEmptyResponse200 = 'helpers/stubs/users_empty_response_200.json';\nconst pathUsersResponse200 = 'helpers/stubs/users_response_200.json';\nconst pathDiagnostic = 'helpers/stubs/diagnostic.json';\nconst pathPage = 'helpers/stubs/page.json';\nconst pathDiagnosticResponse200 = 'helpers/stubs/diagnostic_response_200.json';\nconst pathDiagnosticResponse401 = 'helpers/stubs/diagnostic_response_401.json';\nconst pathUserResponse200 = 'helpers/stubs/user_response_200.json';\nconst pathUserResponse401 = 'helpers/stubs/user_response_401.json';\n"
  },
  {
    "path": "test/helpers/stubs/diagnostic.json",
    "content": "{\n  \"status\": \"200\",\n  \"message\": \"Success\"\n}\n"
  },
  {
    "path": "test/helpers/stubs/diagnostic_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": {\n    \"token\": \"lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw\",\n    \"tokenType\": \"Bearer\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/diagnostic_response_400.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"400\",\n    \"message\": \"Error\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/general_token_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": {\n    \"token\": \"lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw\",\n    \"tokenType\": \"Bearer\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/general_token_response_401.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"401\",\n    \"message\": \"Unauthorized\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/login_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": {\n    \"token\": \"lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8M2H7lG8u1DTq1jj7rb1BEtwGw\",\n    \"tokenType\": \"Bearer\",\n    \"refreshToken\": \"lazycatlabs.eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhdXRoX2FwcCIsImlhdCI6MTY5OTExMDMxOSwiZXhwIjoxNjk5NzE1MTE5fQ.SlybkWOQs9JJpTG-tRYJapalESGNE63atPEfw6ry7NdcoZFkjYDAdlYfnIBlp9eUISAjSc7IUtvKGks0jEJ27V_iUBdKcS0aTVvtd8g1yW14UBGW6jKsOn9QtgxWnPELP0GZ1TRzObZW3bYAXpiVsC9o0LnONmq5ehMUgHVYknF_wTfHwSB2pb77pAZguwK4I9MI4BoqcvcuET36MEgYs9vY-e0f2y50nHN4kbjVe9iFay0GeNIRQsWzzmyN5Xd9Zv5HiSCgbB80UA6SrneoExBi-fNIlxrOxJRaVt16-1ElXu04W5Y_FIoY-jekmMWusE54csh3Woo6ChQQJEopfuU6prdP50TN7UpqiH_o3R77MdgcYBdJ-puZOt-XsplOHNAjDtp2rpo9UExQUlOVxQFuvSKkanxaOSsAXYuOaEh9iBoq0LQ_JiaIbrZBn7EVxKhFnUJokv7SvPMg2LG7p7wczgxYjnuxG0fDRRjK2vAQyAj0rIigd6xpA6g-ii5VWRsk_sMJw-QJW_ivZdQZwjlXeH-EcVeTaZ9yn2zmmavF6sxDxC1SDGGkbKjUpfIdQYa-t82sPO0HUd_OBQ8ZiBGmSV1gi-8lAat1XtJTgsgM0zTxqK5kwekc3gsoZfVdlhJ8SyN6ohyOMU8Hv8\"\n  }\n}\n"
  },
  {
    "path": "test/helpers/stubs/login_response_401.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"401\",\n    \"message\": \"Unauthorized\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/page.json",
    "content": "{\n  \"currentPage\": 1,\n  \"perPage\": 20,\n  \"lastPage\": 5,\n  \"total\": 100\n}\n"
  },
  {
    "path": "test/helpers/stubs/register_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": {\n    \"id\": \"8364aa6f-6887-4502-a6b0-62f082196476\",\n    \"name\": \"Mudassir\",\n    \"email\": \"mudassir@lazycatlabs.com\",\n    \"photo\": \"https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png\",\n    \"verified\": false,\n    \"createdAt\": \"2024-08-25T15:04:28.191067\",\n    \"updatedAt\": \"2024-08-25T15:04:28.191067\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/register_response_400.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"400\",\n    \"message\": \"Error\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/user_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": {\n    \"id\": \"8364aa6f-6887-4502-a6b0-62f082196476\",\n    \"name\": \"Mudassir\",\n    \"email\": \"mudassir@lazycatlabs.com\",\n    \"photo\": \"https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png\",\n    \"verified\": false,\n    \"createdAt\": \"2024-08-25T15:04:28.191067\",\n    \"updatedAt\": \"2024-08-25T15:04:28.191067\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/user_response_401.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"401\",\n    \"message\": \"Error\"\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/users_empty_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": [],\n  \"page\": {\n    \"currentPage\": 1,\n    \"perPage\": 0,\n    \"lastPage\": 1,\n    \"total\": 0\n  }\n}"
  },
  {
    "path": "test/helpers/stubs/users_response_200.json",
    "content": "{\n  \"diagnostic\": {\n    \"status\": \"200\",\n    \"message\": \"Success\"\n  },\n  \"data\": [\n    {\n      \"id\": \"8364aa6f-6887-4502-a6b0-62f082196476\",\n      \"name\": \"Mudassir\",\n      \"email\": \"mudassir@lazycatlabs.com\",\n      \"photo\": \"https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png\",\n      \"verified\": false,\n      \"createdAt\": \"2024-08-25T15:04:28.191067\",\n      \"updatedAt\": \"2024-08-25T15:04:28.191067\"\n    }\n  ],\n  \"page\": {\n    \"currentPage\": 1,\n    \"perPage\": 20,\n    \"lastPage\": 5,\n    \"total\": 100\n  }\n}"
  },
  {
    "path": "test/helpers/test_mock.dart",
    "content": "import 'package:flutter/cupertino.dart';\nimport 'package:flutter_auth_app/features/features.dart';\nimport 'package:mockito/annotations.dart';\n\n@GenerateMocks([\n  AuthRepository,\n  AuthRemoteDatasource,\n  UsersRepository,\n  UsersRemoteDatasource,\n])\n@GenerateNiceMocks([MockSpec<BuildContext>()])\nvoid main() {}\n"
  },
  {
    "path": "test/helpers/test_mock.mocks.dart",
    "content": "// Mocks generated by Mockito 5.4.6 from annotations\n// in flutter_auth_app/test/helpers/test_mock.dart.\n// Do not manually edit this file.\n\n// ignore_for_file: no_leading_underscores_for_library_prefixes\nimport 'dart:async' as _i6;\n\nimport 'package:dartz/dartz.dart' as _i2;\nimport 'package:flutter/foundation.dart' as _i4;\nimport 'package:flutter/src/widgets/framework.dart' as _i3;\nimport 'package:flutter/src/widgets/notification_listener.dart' as _i9;\nimport 'package:flutter_auth_app/core/core.dart' as _i7;\nimport 'package:flutter_auth_app/features/auth/auth.dart' as _i5;\nimport 'package:flutter_auth_app/features/features.dart' as _i8;\nimport 'package:mockito/mockito.dart' as _i1;\n\n// ignore_for_file: type=lint\n// ignore_for_file: avoid_redundant_argument_values\n// ignore_for_file: avoid_setters_without_getters\n// ignore_for_file: comment_references\n// ignore_for_file: deprecated_member_use\n// ignore_for_file: deprecated_member_use_from_same_package\n// ignore_for_file: implementation_imports\n// ignore_for_file: invalid_use_of_visible_for_testing_member\n// ignore_for_file: must_be_immutable\n// ignore_for_file: prefer_const_constructors\n// ignore_for_file: unnecessary_parenthesis\n// ignore_for_file: camel_case_types\n// ignore_for_file: subtype_of_sealed_class\n\nclass _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {\n  _FakeEither_0(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n}\n\nclass _FakeWidget_1 extends _i1.SmartFake implements _i3.Widget {\n  _FakeWidget_1(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n\n  @override\n  String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) =>\n      super.toString();\n}\n\nclass _FakeInheritedWidget_2 extends _i1.SmartFake\n    implements _i3.InheritedWidget {\n  _FakeInheritedWidget_2(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n\n  @override\n  String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) =>\n      super.toString();\n}\n\nclass _FakeDiagnosticsNode_3 extends _i1.SmartFake\n    implements _i4.DiagnosticsNode {\n  _FakeDiagnosticsNode_3(Object parent, Invocation parentInvocation)\n    : super(parent, parentInvocation);\n\n  @override\n  String toString({\n    _i4.TextTreeConfiguration? parentConfiguration,\n    _i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info,\n  }) => super.toString();\n}\n\n/// A class which mocks [AuthRepository].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockAuthRepository extends _i1.Mock implements _i5.AuthRepository {\n  MockAuthRepository() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i5.Login>> login(\n    _i5.LoginParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#login, [params]),\n            returnValue: _i6.Future<_i2.Either<_i7.Failure, _i5.Login>>.value(\n              _FakeEither_0<_i7.Failure, _i5.Login>(\n                this,\n                Invocation.method(#login, [params]),\n              ),\n            ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i5.Login>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i5.Register>> register(\n    _i5.RegisterParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#register, [params]),\n            returnValue:\n                _i6.Future<_i2.Either<_i7.Failure, _i5.Register>>.value(\n                  _FakeEither_0<_i7.Failure, _i5.Register>(\n                    this,\n                    Invocation.method(#register, [params]),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i5.Register>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i5.GeneralToken>> generalToken(\n    _i5.GeneralTokenParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#generalToken, [params]),\n            returnValue:\n                _i6.Future<_i2.Either<_i7.Failure, _i5.GeneralToken>>.value(\n                  _FakeEither_0<_i7.Failure, _i5.GeneralToken>(\n                    this,\n                    Invocation.method(#generalToken, [params]),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i5.GeneralToken>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, String>> logout() =>\n      (super.noSuchMethod(\n            Invocation.method(#logout, []),\n            returnValue: _i6.Future<_i2.Either<_i7.Failure, String>>.value(\n              _FakeEither_0<_i7.Failure, String>(\n                this,\n                Invocation.method(#logout, []),\n              ),\n            ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, String>>);\n}\n\n/// A class which mocks [AuthRemoteDatasource].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockAuthRemoteDatasource extends _i1.Mock\n    implements _i5.AuthRemoteDatasource {\n  MockAuthRemoteDatasource() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i5.RegisterResponse>> register(\n    _i5.RegisterParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#register, [params]),\n            returnValue:\n                _i6.Future<_i2.Either<_i7.Failure, _i5.RegisterResponse>>.value(\n                  _FakeEither_0<_i7.Failure, _i5.RegisterResponse>(\n                    this,\n                    Invocation.method(#register, [params]),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i5.RegisterResponse>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i5.LoginResponse>> login(\n    _i5.LoginParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#login, [params]),\n            returnValue:\n                _i6.Future<_i2.Either<_i7.Failure, _i5.LoginResponse>>.value(\n                  _FakeEither_0<_i7.Failure, _i5.LoginResponse>(\n                    this,\n                    Invocation.method(#login, [params]),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i5.LoginResponse>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i5.GeneralTokenResponse>> generalToken(\n    _i5.GeneralTokenParams? params,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#generalToken, [params]),\n            returnValue:\n                _i6.Future<\n                  _i2.Either<_i7.Failure, _i5.GeneralTokenResponse>\n                >.value(\n                  _FakeEither_0<_i7.Failure, _i5.GeneralTokenResponse>(\n                    this,\n                    Invocation.method(#generalToken, [params]),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i5.GeneralTokenResponse>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i8.DiagnosticResponse>> logout() =>\n      (super.noSuchMethod(\n            Invocation.method(#logout, []),\n            returnValue:\n                _i6.Future<\n                  _i2.Either<_i7.Failure, _i8.DiagnosticResponse>\n                >.value(\n                  _FakeEither_0<_i7.Failure, _i8.DiagnosticResponse>(\n                    this,\n                    Invocation.method(#logout, []),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i8.DiagnosticResponse>>);\n}\n\n/// A class which mocks [UsersRepository].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockUsersRepository extends _i1.Mock implements _i8.UsersRepository {\n  MockUsersRepository() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i8.Users>> users(\n    _i8.UsersParams? usersParams,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#users, [usersParams]),\n            returnValue: _i6.Future<_i2.Either<_i7.Failure, _i8.Users>>.value(\n              _FakeEither_0<_i7.Failure, _i8.Users>(\n                this,\n                Invocation.method(#users, [usersParams]),\n              ),\n            ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i8.Users>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i8.User>> user() =>\n      (super.noSuchMethod(\n            Invocation.method(#user, []),\n            returnValue: _i6.Future<_i2.Either<_i7.Failure, _i8.User>>.value(\n              _FakeEither_0<_i7.Failure, _i8.User>(\n                this,\n                Invocation.method(#user, []),\n              ),\n            ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i8.User>>);\n}\n\n/// A class which mocks [UsersRemoteDatasource].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockUsersRemoteDatasource extends _i1.Mock\n    implements _i8.UsersRemoteDatasource {\n  MockUsersRemoteDatasource() {\n    _i1.throwOnMissingStub(this);\n  }\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i8.UsersResponse>> users(\n    _i8.UsersParams? userParams,\n  ) =>\n      (super.noSuchMethod(\n            Invocation.method(#users, [userParams]),\n            returnValue:\n                _i6.Future<_i2.Either<_i7.Failure, _i8.UsersResponse>>.value(\n                  _FakeEither_0<_i7.Failure, _i8.UsersResponse>(\n                    this,\n                    Invocation.method(#users, [userParams]),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i8.UsersResponse>>);\n\n  @override\n  _i6.Future<_i2.Either<_i7.Failure, _i8.UserResponse>> user() =>\n      (super.noSuchMethod(\n            Invocation.method(#user, []),\n            returnValue:\n                _i6.Future<_i2.Either<_i7.Failure, _i8.UserResponse>>.value(\n                  _FakeEither_0<_i7.Failure, _i8.UserResponse>(\n                    this,\n                    Invocation.method(#user, []),\n                  ),\n                ),\n          )\n          as _i6.Future<_i2.Either<_i7.Failure, _i8.UserResponse>>);\n}\n\n/// A class which mocks [BuildContext].\n///\n/// See the documentation for Mockito's code generation for more information.\nclass MockBuildContext extends _i1.Mock implements _i3.BuildContext {\n  @override\n  _i3.Widget get widget =>\n      (super.noSuchMethod(\n            Invocation.getter(#widget),\n            returnValue: _FakeWidget_1(this, Invocation.getter(#widget)),\n            returnValueForMissingStub: _FakeWidget_1(\n              this,\n              Invocation.getter(#widget),\n            ),\n          )\n          as _i3.Widget);\n\n  @override\n  bool get mounted =>\n      (super.noSuchMethod(\n            Invocation.getter(#mounted),\n            returnValue: false,\n            returnValueForMissingStub: false,\n          )\n          as bool);\n\n  @override\n  bool get debugDoingBuild =>\n      (super.noSuchMethod(\n            Invocation.getter(#debugDoingBuild),\n            returnValue: false,\n            returnValueForMissingStub: false,\n          )\n          as bool);\n\n  @override\n  _i3.InheritedWidget dependOnInheritedElement(\n    _i3.InheritedElement? ancestor, {\n    Object? aspect,\n  }) =>\n      (super.noSuchMethod(\n            Invocation.method(\n              #dependOnInheritedElement,\n              [ancestor],\n              {#aspect: aspect},\n            ),\n            returnValue: _FakeInheritedWidget_2(\n              this,\n              Invocation.method(\n                #dependOnInheritedElement,\n                [ancestor],\n                {#aspect: aspect},\n              ),\n            ),\n            returnValueForMissingStub: _FakeInheritedWidget_2(\n              this,\n              Invocation.method(\n                #dependOnInheritedElement,\n                [ancestor],\n                {#aspect: aspect},\n              ),\n            ),\n          )\n          as _i3.InheritedWidget);\n\n  @override\n  void visitAncestorElements(_i3.ConditionalElementVisitor? visitor) =>\n      super.noSuchMethod(\n        Invocation.method(#visitAncestorElements, [visitor]),\n        returnValueForMissingStub: null,\n      );\n\n  @override\n  void visitChildElements(_i3.ElementVisitor? visitor) => super.noSuchMethod(\n    Invocation.method(#visitChildElements, [visitor]),\n    returnValueForMissingStub: null,\n  );\n\n  @override\n  void dispatchNotification(_i9.Notification? notification) =>\n      super.noSuchMethod(\n        Invocation.method(#dispatchNotification, [notification]),\n        returnValueForMissingStub: null,\n      );\n\n  @override\n  _i4.DiagnosticsNode describeElement(\n    String? name, {\n    _i4.DiagnosticsTreeStyle? style = _i4.DiagnosticsTreeStyle.errorProperty,\n  }) =>\n      (super.noSuchMethod(\n            Invocation.method(#describeElement, [name], {#style: style}),\n            returnValue: _FakeDiagnosticsNode_3(\n              this,\n              Invocation.method(#describeElement, [name], {#style: style}),\n            ),\n            returnValueForMissingStub: _FakeDiagnosticsNode_3(\n              this,\n              Invocation.method(#describeElement, [name], {#style: style}),\n            ),\n          )\n          as _i4.DiagnosticsNode);\n\n  @override\n  _i4.DiagnosticsNode describeWidget(\n    String? name, {\n    _i4.DiagnosticsTreeStyle? style = _i4.DiagnosticsTreeStyle.errorProperty,\n  }) =>\n      (super.noSuchMethod(\n            Invocation.method(#describeWidget, [name], {#style: style}),\n            returnValue: _FakeDiagnosticsNode_3(\n              this,\n              Invocation.method(#describeWidget, [name], {#style: style}),\n            ),\n            returnValueForMissingStub: _FakeDiagnosticsNode_3(\n              this,\n              Invocation.method(#describeWidget, [name], {#style: style}),\n            ),\n          )\n          as _i4.DiagnosticsNode);\n\n  @override\n  List<_i4.DiagnosticsNode> describeMissingAncestor({\n    required Type? expectedAncestorType,\n  }) =>\n      (super.noSuchMethod(\n            Invocation.method(#describeMissingAncestor, [], {\n              #expectedAncestorType: expectedAncestorType,\n            }),\n            returnValue: <_i4.DiagnosticsNode>[],\n            returnValueForMissingStub: <_i4.DiagnosticsNode>[],\n          )\n          as List<_i4.DiagnosticsNode>);\n\n  @override\n  _i4.DiagnosticsNode describeOwnershipChain(String? name) =>\n      (super.noSuchMethod(\n            Invocation.method(#describeOwnershipChain, [name]),\n            returnValue: _FakeDiagnosticsNode_3(\n              this,\n              Invocation.method(#describeOwnershipChain, [name]),\n            ),\n            returnValueForMissingStub: _FakeDiagnosticsNode_3(\n              this,\n              Invocation.method(#describeOwnershipChain, [name]),\n            ),\n          )\n          as _i4.DiagnosticsNode);\n}\n"
  },
  {
    "path": "test/utils/ext/context_test.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_auth_app/core/core.dart';\nimport 'package:flutter_auth_app/utils/ext/context.dart';\nimport 'package:flutter_localizations/flutter_localizations.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport '../../helpers/test_mock.mocks.dart';\n\nvoid main() {\n  Widget rootWidget(Widget body) => ScreenUtilInit(\n    designSize: const Size(375, 667),\n    minTextAdapt: true,\n    splitScreenMode: true,\n    builder: (_, _) => MaterialApp(\n      localizationsDelegates: const [\n        Strings.delegate,\n        GlobalMaterialLocalizations.delegate,\n        GlobalWidgetsLocalizations.delegate,\n        GlobalCupertinoLocalizations.delegate,\n      ],\n      locale: const Locale('en'),\n      theme: themeLight(MockBuildContext()),\n      home: body,\n    ),\n  );\n\n  testWidgets('widthInPercent returns correct width', (\n    WidgetTester tester,\n  ) async {\n    await tester.pumpWidget(\n      rootWidget(\n        Builder(\n          builder: (context) {\n            final width = context.widthInPercent(50);\n            expect(width, equals(MediaQuery.of(context).size.width * 0.5));\n            return Container();\n          },\n        ),\n      ),\n    );\n  });\n\n  testWidgets('heightInPercent returns correct height', (\n    WidgetTester tester,\n  ) async {\n    await tester.pumpWidget(\n      rootWidget(\n        Builder(\n          builder: (context) {\n            final height = context.heightInPercent(50);\n            expect(height, equals(MediaQuery.of(context).size.height * 0.5));\n            return Container();\n          },\n        ),\n      ),\n    );\n  });\n\n  testWidgets('show displays loading dialog', (WidgetTester tester) async {\n    await tester.pumpWidget(\n      rootWidget(\n        Builder(\n          builder: (context) {\n            Future.delayed(const Duration(milliseconds: 400), () {\n              context.show();\n            });\n            return Container();\n          },\n        ),\n      ),\n    );\n\n    await tester.pump(const Duration(seconds: 1));\n    expect(find.byType(PopScope), findsOneWidget);\n    expect(find.byType(Material), findsOneWidget);\n  });\n\n  testWidgets('dismiss closes loading dialog', (WidgetTester tester) async {\n    late BuildContext context;\n    await tester.pumpWidget(\n      rootWidget(\n        Builder(\n          builder: (ctx) {\n            context = ctx;\n            Future.delayed(const Duration(milliseconds: 400), () {\n              ctx.show();\n            });\n            return Container();\n          },\n        ),\n      ),\n    );\n\n    await tester.pump(const Duration(seconds: 1));\n    expect(find.byType(PopScope), findsOneWidget);\n    expect(find.byType(Material), findsOneWidget);\n\n    // Dismiss the dialog\n    context.dismiss();\n    await tester.pump(); // Complete the dialog closing animation\n\n    expect(find.byType(PopScope), findsNothing);\n    expect(find.byType(Material), findsNothing);\n  });\n}\n"
  },
  {
    "path": "test/utils/ext/string_test.dart",
    "content": "import 'package:flutter_auth_app/utils/ext/string.dart';\nimport 'package:flutter_test/flutter_test.dart';\nimport 'package:intl/date_symbol_data_local.dart';\n\nvoid main() {\n  test('isValidEmail returns true for valid email', () {\n    expect('test@example.com'.isValidEmail(), isTrue);\n  });\n\n  test('isValidEmail returns false for invalid email', () {\n    expect('invalid-email'.isValidEmail(), isFalse);\n  });\n\n  test('toStringDateAlt returns formatted date', () {\n    // Initialize date formatting for the desired locale\n    initializeDateFormatting('id');\n\n    /// disable isToLocal since the local time is different with GitHub Actions\n    expect(\n      '2023-10-01T12:34:56Z'.toStringDateAlt(isToLocal: false),\n      '01 Oktober 2023 12:34',\n    );\n  });\n\n  test('toStringDateAlt returns \"-\" for invalid date', () {\n    expect('invalid-date'.toStringDateAlt(), '-');\n  });\n}\n"
  },
  {
    "path": "test/utils/helper/debouncer_test.dart",
    "content": "import 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('Debouncer', () {\n    test('action is called after the specified duration', () async {\n      bool actionCalled = false;\n      final debouncer = Debouncer(duration: const Duration(milliseconds: 100));\n\n      debouncer.run(() => actionCalled = true);\n\n      // Wait for the duration to pass\n      await Future.delayed(const Duration(milliseconds: 150));\n\n      expect(actionCalled, isTrue);\n    });\n\n    test('action is not called if debouncer is reset before duration',\n        () async {\n      bool actionCalled = false;\n      final debouncer = Debouncer(duration: const Duration(milliseconds: 100));\n\n      debouncer.run(() => actionCalled = true);\n\n      // Reset the debouncer before the duration passes\n      await Future.delayed(const Duration(milliseconds: 50));\n      debouncer.run(() {});\n\n      // Wait for the original duration to pass\n      await Future.delayed(const Duration(milliseconds: 100));\n\n      expect(actionCalled, isFalse);\n    });\n\n    test('new action is called after debouncer is reset', () async {\n      bool firstActionCalled = false;\n      bool secondActionCalled = false;\n      final debouncer = Debouncer(duration: const Duration(milliseconds: 100));\n\n      debouncer.run(() => firstActionCalled = true);\n\n      // Reset the debouncer before the duration passes\n      await Future.delayed(const Duration(milliseconds: 50));\n      debouncer.run(() => secondActionCalled = true);\n\n      // Wait for the duration to pass\n      await Future.delayed(const Duration(milliseconds: 150));\n\n      expect(firstActionCalled, isFalse);\n      expect(secondActionCalled, isTrue);\n    });\n  });\n}\n"
  },
  {
    "path": "test/utils/helper/go_router_refresh_stream_test.dart",
    "content": "import 'dart:async';\n\nimport 'package:flutter_auth_app/utils/utils.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nvoid main() {\n  group('GoRouterRefreshStream', () {\n    test('notifies listeners when streams emit events', () async {\n      final streamController1 = StreamController<dynamic>();\n      final streamController2 = StreamController<dynamic>();\n\n      final goRouterRefreshStream = GoRouterRefreshStream([\n        streamController1.stream,\n        streamController2.stream,\n      ]);\n\n      bool notified = false;\n      goRouterRefreshStream.addListener(() {\n        notified = true;\n      });\n\n      streamController1.add(null);\n      await Future.delayed(Duration.zero);\n\n      expect(notified, isTrue);\n\n      streamController1.close();\n      streamController2.close();\n    });\n\n    test('cancels subscriptions on dispose', () {\n      final streamController1 = StreamController<dynamic>();\n      final streamController2 = StreamController<dynamic>();\n\n      final goRouterRefreshStream = GoRouterRefreshStream([\n        streamController1.stream,\n        streamController2.stream,\n      ]);\n\n      goRouterRefreshStream.dispose();\n\n      expect(() => streamController1.add(null), isA<Function()>());\n      expect(() => streamController2.add(null), isA<Function()>());\n\n      streamController1.close();\n      streamController2.close();\n    });\n  });\n}\n"
  }
]