Giter Club home page Giter Club logo

flutter_basics's Introduction

flutter_basics

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

flutter is widget on widget

MaterialWidget can contain Scaffold that a widget use as skeleton of app, it has white black widget. those two is skeleton of app

flutter work with widget, its widget over widget over widget,

every widget has arguments, and if we used arguments we need to pass another widget as arguments.

widget use pascal case argument contain widget with colon (:)

use constant with const on every arguments used only for first child widget from the parent widget, to avoid use 2 times const, because we only need to use it once for every arguments

use comma (,) on every end of bracket ())

if we change something on MyApp, we need to do restart, not only hot reload to get the changes

stateless widget mean the screen will not change so we need to statefull widget

and use setState to change variable

use currentIndex arguments to show the active bottomNavigationBar

int use lowercase, not as String

to create vertical widgets, we can use Column widget with children of list maximum size of column is follow its childs. to make the column take all screen we can use SizedBox widget to wrap it, and use width arguments to get maximum with as width arguments, we use double.infinity, that will surely take max width as we have

if we use row/columnt, it gonna fill the width/height on it

context used to tell flutter as bridge on each widget.

flutter_basics's People

Contributors

anjasfedo avatar

Watchers

 avatar

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.