Coder Social home page Coder Social logo

o1298098 / flutter-movie Goto Github PK

View Code? Open in Web Editor NEW
714.0 40.0 221.0 369.42 MB

๐Ÿ˜Ž ๐ŸŽฌ A Flutter movie app build with Fish-Redux and The Movie DB api.

License: Apache License 2.0

Objective-C 0.08% Dart 99.76% Ruby 0.07% Kotlin 0.02% Swift 0.06% HTML 0.01% C 0.01%
flutter movie fish-redux tmdb-api ios android flutter-examples animation app

flutter-movie's Introduction

movie

A Flutter movie app build with Fish-Redux and TMDB api.

ToDos

  • redesign UI
  • account detail
  • customize stream support
  • dark mode support
  • localization
  • search
  • detail page
  • share movie or tv show
  • rate movie or tv show

Api doc

https://movie-apidoc.web.app/

About Payment

this app used Braintree as payment gateway, all payment operations are completed on the server side, and app is only responsible for the input of payment methods. more detail

Test Account:

Visa: 4111111111111111
Paypal: [email protected] password: o1298098

Demo

Download

Flutter version

Flutter 2.1.0-10.0.pre
Tools โ€ข Dart 2.11.0

Preview

tabbedpage

detailpage


share(listใ€tvshowใ€movie)

other page


Other

home page based on https://dribbble.com/shots/6070474--Movie
season page based on https://dribbble.com/shots/6379112-TV-Streaming-App
premium page based on https://dribbble.com/shots/10558858--1-UI-Challenge-OTT-Subscription
create card page based on https://dribbble.com/shots/6440077-Add-a-New-Credit-Card-alternate-flow

LICENSE

Copyright 2019 o1298098

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

flutter-movie's People

Contributors

o1298098 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  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

flutter-movie's Issues

Named parameter is not defined

Hi thanks for making this app which is a great resource for flutter learners.
I downloaded this repo and it gives me the following warnings and errors:
image

The flutter sdk I use is v1.12.13

Can someone give me a hint on how to solve these issues?
Thank you!

Streaming

is this supposed to stream any movies?

three bugs

1.The named parameter 'sliver' isn't defined. [movie] lib/views/moviedetail_ page/view.dart:680
2.The named parameter 'trackColor' isn't defined. [movie] lib/views/setting_ page/view.dart:184
3.The named parameter 'sliver' isn't defined. [movie] lib/views/tvdetail_ page/view.dart:274
How to fix๏ผŸ

Account Tab - Freezes if you have not logged in previously.

Hi,
Absolutely fantastic app it is shaping out to be. I am learning flutter form the past few weeks and wanted something more robust and stumbled upon this repo. Thanks for sharing this.

For the possible defect:

I have not signed in to the tmdb account, so the Account tab should be just empty and any widget I click should navigate me to the tmdb login page I suppose.
However, the screen freezes there with the following in the debug console:

flutter: AccountPage Lifecycle.build
flutter: CacheManager: Failed to download file from  with error:
Invalid argument(s): No host specified in URI

image

Steps to recreate:

  1. Debug on VSCode
  2. Click on the following in order:
  • Discover
  • Coming
  • Account
  1. Restart the app and I get the following in the debug console
flutter: AccountPage Lifecycle.build

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by image resource service โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following ArgumentError was thrown resolving an image codec:
Invalid argument(s): No host specified in URI

When the exception was thrown, this was the stack
#0      _HttpClient._openUrl  (dart:_http/http_impl.dart:2282:9)
#1      _HttpClient.openUrl  (dart:_http/http_impl.dart:2200:7)
#2      IOClient.send 
package:http/src/io_client.dart:31
#3      HttpFileService.get 
package:flutter_cache_manager/โ€ฆ/web/file_service.dart:32
#4      WebHelper._download 
package:flutter_cache_manager/โ€ฆ/web/web_helper.dart:76
...
Image provider: CachedNetworkImageProvider("", scale: 1.0) 
 Image key: CachedNetworkImageProvider("", scale: 1.0): CachedNetworkImageProvider("", scale: 1.0)
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Restarted application in 2,371ms.

image

Hope this is enough information. If I can help in any way let me know.

Admin Configuration

Hello, just felt it would be better opening an issue here.

So on performing my own internal configurations, I came across this.

Screenshot (74)_LI

All the requirements have been downloaded and installed. What am i doing wrong

android version

Hi, thank you for your good job.
Which android version of the demo application is compatible?
does not work on android 7.1.1

State Framework similar to Fish

Dear @o1298098 ,
I would like to ask you about fish-redux. I feel that their maintenance is very slow, and almost no feedback about the null safety issues posted there.

  • do you think that fish-redux is being abandoned ?
  • what do you think about an idea: to use https://pub.dev/packages/event_bus and manage the state in the same way fish redux is managing, keeping the state, effect, action pattern, but using the bus to send back and forward the communication between the state and view ?
  • what is your opinion about riverpod as a possible candidate to change fish-redux ?

regards
hh

ๅคง็ฅžไธบไป€ไนˆ้€‰ๆ‹ฉ็”จfish-redux ่ฟ›่กŒ็Šถๆ€็ฎก็†่€Œไธๆ˜ฏ็”จgoogle ๆŽจ่็š„provider?

ๆˆ‘ๆ˜ฏไธ€ๅflutter ๅˆๅญฆ่€…๏ผŒfish-redux ๆ–‡ๆกฃไธๅคŸ่ฏฆ็ป†๏ผŒไฝฟ็”จ่ตทๆฅๅพˆๅคš็–‘ๆƒ‘ใ€‚ๆ‚จ็š„app ๆ˜ฏๆˆ‘ๆ‰พๅˆฐ็š„flutter ๆกˆไพ‹ไธญๆœ€ไธบๆต็•…ใ€‚ๅฆ‚ๆžœๆœ‰ๆœบไผšๅธŒๆœ›ๆ‚จ่ƒฝๅ‡บไธ€็ณปๅˆ—่ง†้ข‘ๆ•™็จ‹ใ€‚

Parameter is not defined

Good friend, great project. I have some problems with these variables. They come out that are not defined. I hope your help and thanks for this great project.

  • floatingLabelBehavior: FloatingLabelBehavior.auto,
  • allowImplicitScrolling: false,

Captura

DioError Http status error [401]

mostly gives this error:
I/flutter (24188): MainPage Lifecycle.didUpdateWidget
I/flutter (24188): DioError [DioErrorType.RESPONSE]: Http status error [401]

resim

OnLoading Boilerplate

Hi @o1298098 ,
I thought that maybe, instead of using the i.e.

ctx.dispatch(CheckOutPageActionCreator.loading(true));

and creating all the boilerplate (reducer, action, dispatch),
why not refactor and use the FutureBuilder instead, checking if the request is done (not null) ?
I tried to write a POC with this simpler approach, but the view was not automatically rendered...
so I would like to ask you if refactoring with FutueBuilder is possible, and if not, why fish-redux does not support it ?
thanks for sharing your amazing app!
Henry

How to use this project please guide me.

Hey, our team have a lots of movies or webseries streamurls please guide me how to use inside your project. and i can contribute in your project for adding movie or webseries working stream link .. i have a 8000 audience network...

and i am appreciated your work....

contact details -- [email protected]

my name is Jatin Rajput...

ๆ–‡ไปถๅคชๅคง

build ไนŸไธŠไผ  .ideaไนŸไธŠไผ  .vscode ้†‰ไบ† ่ฟ™ๆตช่ดนๅคšๅฐ‘่ต„ๆบ

Web support?

Somehow i am unable to run the project on web. I could run it on mobile devices. But when i run it on i get a blank page. The terminal has following logs :
Launching lib/main.dart on Chrome in debug mode...
Building application for the web...
Attempting to connect to browser instance..
Debug service listening on ws://127.0.0.1:61156/xUL-4mzprks=

and in Console :

Uncaught (in promise) Error: Unsupported operation: Platform.operatingSystem
at Object.throw
[as throw] (errors.dart:196)
at Function._operatingSystem (io_patch.dart:241)
at Function.get operatingSystem [as operatingSystem] (platform_impl.dart:62)
at get _operatingSystem (platform.dart:73)
at Function.desc.get [as _operatingSystem] (utils.dart:77)
at get isAndroid (platform.dart:135)
at Function.desc.get [as isAndroid] (utils.dart:77)
at _init (app.dart:46)
at _init.next ()
at runBody (async_patch.dart:86)
at Object._async [as async] (async_patch.dart:125)
at Object._init (app.dart:45)
at createApp (app.dart:133)
at createApp.next ()
at runBody (async_patch.dart:86)
at Object._async [as async] (async_patch.dart:125)
at Object.createApp (app.dart:53)
at main (main.dart:7)
at main.next ()
at runBody (async_patch.dart:86)
at Object._async [as async] (async_patch.dart:125)
at Object.main$ [as main] (main.dart:5)
at main$ (main_web_entrypoint.dart:13)
at main$.next ()
at onValue (async_patch.dart:47)
at _RootZone.runUnary (zone.dart:1381)
at _FutureListener.thenAwait.handleValue (future_impl.dart:140)
at handleValueCallback (future_impl.dart:682)
at Function._propagateToListeners (future_impl.dart:711)
at async._AsyncCallbackEntry.new.callback (future_impl.dart:391)
at Object._microtaskLoop (schedule_microtask.dart:43)
at _startMicrotaskLoop (schedule_microtask.dart:52)

Cast lists

Hi how are you :)?
I guess we should also add functionality to add cast members ( actors etc ) in lists so a user can make their actors lists to track actors, similar as we did in movies and tv shows options "Add to List" function.
What do you think?

Redesign UI

Hi how are you, are you working on New UI?

can't run in master

no parameter named label in BottomNavigationBarItem, where there is in code
error: The named parameter 'label' isn't defined. (undefined_named_parameter at [movie] lib/views/main_page/view.dart:51)

FCM

Hi I need your help about firebase push notifications i'm unable to push notifictions, i replaced the google-services.json file but there is no luck plz help. why i'm not recieving notifications. if there is a special way then plz explain how...

UI bug in buildView() method of MovieDetailPage

Here is the exception log:

I/flutter (23454): MovieDetailPage Lifecycle.build 

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by rendering library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown during layout:
A RenderFlex overflowed by 0.800 pixels on the bottom.

User-created ancestor of the error-causing widget was: 
  Container file:///C:/Users/anticafe/Documents/GitHub/Flutter-Movie/lib/views/moviedetail_page/components/menu_component/view.dart:131:10
The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.

Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView.

The specific RenderFlex in question is: RenderFlex#96048 relayoutBoundary=up5 OVERFLOWING
...  parentData: <none> (can use size)
...  constraints: BoxConstraints(w=411.4, 0.0<=h<=384.4)
...  size: Size(411.4, 384.4)
...  direction: vertical
...  mainAxisAlignment: start
...  mainAxisSize: max
...  crossAxisAlignment: center
...  verticalDirection: down

Image:
Screenshot_1571468617

Undefined name 'signInOption'. Try correcting the name to one that is defined, or defining the name.dart(undefined_identifier)

lib/views/login_page/effect.dart:105:36: Error: Getter not found: 'signInOption'.
GoogleSignIn(signInOption: signInOption.standard);
^^^^^^^^^^^^
Compiler failed on /Users/liuchao/Documents/GitHub/Flutter-Movie/lib/main.dart

FAILURE: Build failed with an exception.

void _onGoogleSignIn(Action action, Context ctx) async {
ctx.state.submitAnimationController.forward();
try {
GoogleSignIn _googleSignIn =
GoogleSignIn(signInOption: signInOption.standard);
final GoogleSignInAccount googleUser = await _googleSignIn.signIn();
final GoogleSignInAuthentication googleAuth =
await googleUser.authentication;
final AuthCredential credential = GoogleAuthProvider.getCredential(
accessToken: googleAuth.accessToken,
idToken: googleAuth.idToken,
);

GoogleService-Info.plist not found

The file โ€œGoogleService-Info.plistโ€ couldnโ€™t be opened because there is no such file. Hope you can upload this plist!Thank you very much!

Video or text Tutorial for learners (

is there any youtube video or text tutorial for this great app ?

i m new to flutter and im learning a lot with some of your code snippets but a tutorial either video or text will really really do alot of help here man

email: [email protected]

Stream

Hi, have you completed the streaming functionality?
Q: How is it different from previous functionality ( that we had to manually add stream links )?
Q:Now we don't have to add streaming links manually? will it automatically pick the streaming links from api?

Add to list "Sbmit"

Hi, now when i click on submit for add to my list then it dosn't work.
After clicking submit When i check back my list its empty there is no movie in it.
Is it due to firebase? plz tell me what am i doing wrong.. Thanks

change language?

good, a query, I see that you have to put multi-languages, in that case how can you do to change it or assign another language so that it comes out by default, other than in English?

payement

Can you add a payment method to acces some videos in the app??

Redraw Performance

Amazing project !!!
I was wandering if the pattern of using functions to granulate the view code (and solve the brackets hell) is the best alternative, once you keep redrawing a lot of unseeded components. Please, review the approach in this article and let me know if it's relevant.

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.