Giter Club home page Giter Club logo

howtodothisinflutter's People

Contributors

deadcoder0904 avatar lesnitsky avatar masmangan avatar mraleph avatar tiagoha 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

howtodothisinflutter's Issues

Examples to add

  • passing props
  • async/await
  • platform specific code
  • orientation
  • layout examples
  • slivers
  • gestures
  • lifecycle

The 'type' keyword isn't standard React Native

You use 'type' in a few places like

type State = { yada:yada };

I don't recognize the type keyword in vanilla JavaScript. Is this a Babel feature? If so, can we put that in the explanations? If not, maybe change it to a const?

Rename PureComponent to Stateless Component

In Flutter, stateless component does not have state so it makes sense to change PureComponent to Stateless Component

So this

import React from 'react';

type Props = {
  name: string,
};

class Greeter extends React.PureComponent<Props, {}> {
  render() {
    return (
      <View>
        <Text>Hello, {this.props.name}</Text>
      </View>
    );
  }
}

becomes

import React from 'react';

type Props = {
  name: string,
};

const Greeter = props => (
      <View>
        <Text>Hello, {props.name}</Text>
      </View>
    );

What do you think?

New Favicon

It confused me which website I was opening as you have used Flutter's logo.

I think it makes sense to change to anything else than that. But I understand it might not be a priority :)

expand on json encoding/decoding re:dart

json encoding and decoding is famously complicated in flutter because runtime reflection is disabled, so it'd be good to give readers an indication of their different options—similar to how this page works—in order to avoid a situation where someone expects that json is plug-and-play, but then realizes that things are more complicated than they expected.

isDev not working with package:lint

@lesnitsky I like the Check if dev snippet.
Sadly lint isn't happy about it.
And as I'm pretty new to dart I'm not sure what to do^^

The function assert should have a return type but doesn't.
Try adding a return type to the function.dart(always_declare_return_types)
Type annotate public APIs.dart(type_annotate_public_apis)
Expected an identifier.dart(missing_identifier)

and it thinks (isDev = true) is a named parameter

Named parameters must be enclosed in curly braces ('{' and '}').
Try surrounding the named parameters in curly braces.dart(named_parameter_outside_group)

and the last one

A function body must be provided.
Try adding a function body.dart(missing_function_body)

I'm actually not really in need for this, just curious. So it's no urgent issue.

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.