Giter Club home page Giter Club logo

imsanjaysoni / inshorts-clone-the-news-app Goto Github PK

View Code? Open in Web Editor NEW
209.0 209.0 79.0 27.6 MB

inshorts News App Clone with flutter and newsapi.org API

Home Page: https://drive.google.com/file/d/1D0U3uX1GGse8BMWsQ-NIGgEIPkOJNL0a/view?usp=sharing

License: MIT License

Kotlin 0.37% Ruby 3.07% Swift 0.36% Objective-C 0.03% Dart 96.16%
android apk appclone dart flutter flutter-apps flutter-examples inshorts news newsapi share-news-card ui webview

inshorts-clone-the-news-app's Introduction

Hi ๐Ÿ‘‹, I'm Sanjay Soni

A passionate self taught developer from India

๐Ÿ”ญ My Recent Work



imsanjaysoni


  • ๐Ÿ”ญ Iโ€™m currently working on Online Multi-Player Game App
  • ๐ŸŒฑ Iโ€™m currently learning Swift and SwiftUI
  • ๐Ÿ’ฌ Ask me about Flutter and SwiftUI
  • ๐Ÿ“ซ How to reach me [email protected]
  • ๐Ÿ“„ Know about my experiences Download Resume

Connect with me:

imsanjaysoni imsanjaysoni imsanjaysoni imsanjaysoni imsanjaysoni @imsanjaysoni imsanjaysoni

inshorts-clone-the-news-app's People

Contributors

adithyaakrishna avatar imgbotapp avatar imsanjaysoni avatar webaddicted avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inshorts-clone-the-news-app's Issues

setState() or markNeedsBuild() called during build.

When I get app then it show error.

======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for FeedProvider:
setState() or markNeedsBuild() called during build.

This _DefaultInheritedProviderScope widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: _DefaultInheritedProviderScope
value: Instance of 'FeedProvider'
listening to value
The widget which was currently being built when the offending call was made was: BlocBuilder<NewsFeedBloc, NewsFeedState>
dirty
state: _BlocBuilderBaseState<NewsFeedBloc, NewsFeedState>#b5032
When the exception was thrown, this was the stack:
#0 Element.markNeedsBuild. (package:flutter/src/widgets/framework.dart:4328:11)
#1 Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4343:6)
#2 _InheritedProviderScopeMixin.markNeedsNotifyDependents (package:provider/src/inherited_provider.dart:269:5)
#3 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:243:25)
#4 FeedProvider.setDataLoaded (package:inshort_clone/controller/provider.dart:68:5)
...
The FeedProvider sending notification was: Instance of 'FeedProvider'

The name 'Router' is defined in the libraries '

The name 'Router' is defined in the libraries 'package:flutter/src/widgets/router.dart' and 'package:inshort_clone/routes/routesgr.dart'.
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.
image
image

Fix Deprecated Members

Description: The app has many deprecated members like List , cursorColor and WatchBoxBuilder which can be fixed by updating them

Router issue for new page

Why you are comment all Router usage line?
For example if we want to open the setting page right now it not work bcz you comment the relative code in the source.

Specific Region News

May I know how to change the news to any particular region i.e. Pakistan using the newsapi.org APIs?

setState() or markNeedsBuild() called during build

Hi guys,
On the real device the appbar not appear and it cause below exception:

`โ•โ•โ•ก EXCEPTION CAUGHT BY FOUNDATION LIBRARY โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while dispatching notifications for FeedProvider:
setState() or markNeedsBuild() called during build.
This _DefaultInheritedProviderScope widget cannot be marked as needing to build
because the framework is already in the process of building widgets. A widget can be marked as
needing to be built during the build phase only if one of its ancestors is currently building. This
exception is allowed because the framework builds parent widgets before children, which means a
dirty descendant will always be built. Otherwise, the framework might not visit this widget during
this build phase.
The widget on which setState() or markNeedsBuild() was called was:
_DefaultInheritedProviderScope
The widget which was currently being built when the offending call was made was:
Builder

When the exception was thrown, this was the stack:
#0 Element.markNeedsBuild. (package:flutter/src/widgets/framework.dart:4210:11)
#1 Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4225:6)
#2 _InheritedProviderScopeMixin.markNeedsNotifyDependents (package:provider/src/inherited_provider.dart:269:5)
#3 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:243:25)
#4 FeedProvider.setScreenController (package:seventy_mm/controller/provider.dart:117:5)
#5 _AppBaseState.initState (package:seventy_mm/view/app_base/app_base.dart:46:14)
#6 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4704:57)
#7 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4541:5)
... Normal element mounting (166 frames)
#173 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3603:14)
#174 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6170:32)
... Normal element mounting (143 frames)
#317 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3603:14)
#318 Element.updateChild (package:flutter/src/widgets/framework.dart:3355:20)
#319 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4592:16)
#320 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4739:11)
#321 Element.rebuild (package:flutter/src/widgets/framework.dart:4261:5)
#322 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2578:33)
#323 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:875:21)
#324 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:329:5)
#325 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#326 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
#327 SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:865:7)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)`

How to get started

Hi there,

I am new to app building and the software world. I know how to code and all but haven't tried end-to-end yet. Can you pls tell me how and where I can run this so that I can get started in doing some edits of my own?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.