GithubHelp home page GithubHelp logo

building-a-social-network-with-flutter's People

Contributors

fablue avatar mclark4386 avatar sellmair avatar xster 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

building-a-social-network-with-flutter's Issues

Start at _page = 1

Hey,
It's not technically an issue, I just wanted to say thank you for the awesome tutorial! ๐Ÿ‘

I have one question however: What changes to the Step 1 final code do I have to make in order to start the page view at _page = 1, i.e start at the "feed" view? The current version of the code allows you to set _page = 1, which however leads to the bug that you can't scroll left, to _page = 0 anymore.

Maybe onPageChanged has to be implemented differently in order to accomplish that?

Initialization of variables

Hi, I am new to Flutter, but is there any reason why to initialize PageController in initState method instead initialize it right in the declaration?

class _MainPageState extends State<MainPage> {
...
  // why not this way?
  PageController _pageController = new PageController(); 
...
  // why this way
  @override
  void initState() {
    super.initState();
    _pageController = new PageController();
  }
...
}

Possible to Integrate with List View?

Hello,

Thank you for sharing your approach to carousel. However I am currently using ListView to display the widgets on each page and have not found a way to integrate PageView in the way that you've implemented it.

For example, in this example I am using BoxDecoration to implement a single, static image:

return new MaterialApp(
      title: 'Flutter Demo',
      home: new Scaffold(
        body: new Container(
          decoration: new BoxDecoration(
            image: new DecorationImage(
              image: new AssetImage('images/dog.jpg'),
              fit: BoxFit.cover,
            ),
          ),
          child: new ListView(
            children: [
              style360Logo,
              titleTextSection,
              subtitleTextSection,
              getStartedButton(),
            ],
          ),
        ),
        bottomNavigationBar: footer,
      ),
    );

This does not interfere with ListView. However, when I have tried to add PageView to the body property, there doesn't seem to be any way to do it, other than wiping out the whole body container and starting from scratch. Any ideas?

Will you be upgrading to Dart 2

Hi,

Your code and example has been a great help. Do you have any plans to update it for Flutter Beta and Dart 2? The stricter type system is causing the example to fail now.

Did you build Social Logins?

Did you build social logins into your apps? Can you share your experience of working with Google, Facebook and LinkedIn logins? Thanks.

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.