Coder Social home page Coder Social logo

dart's People

Contributors

champaksworld avatar champaksworldcreate avatar sachinpathakvns avatar

Stargazers

 avatar  avatar  avatar  avatar

dart's Issues

Assinment-1

1,Make a multilevel API downloader App with the given functionality
2.Starting screen
3.Show a list of products avaliabel from a json gist and display them with a text showing the name and the button with the caption show (details)
4.The next screen will show the details of the selected product and will be shown and the button is clicked
5.Sample product list json
6.json file{
"products":[
{
"productno":"1",
"name":"shoe",
"link":"p1.json"
},

{
"productno":"2",
"name":"sandal",
"link":"p2.json"
},

{
"productno":"3",
"name":"socks",
"link":"p3.json"
}

]
}

Here is the json for p1

p1.json
{
"productno":"1",
"name":"Shoe",
"price":"190",
"details":"great for the feet"
}

Steps

  1. Create a simple stateless widget called ProductPage
  2. Create a stateful widget called Products
  3. Launch ProductPage from main. In the body of ProductPage show Products
  4. Create a class called Downloader, inside this make a method that downloads from a given site and url and then returns.
  5. Create a class called Product having the same fields as the Product JSON.
  6. Create a factory method fromJson
  7. Create a list of Product Objects
  8. Create a widget list from List of Product objects.

Basic things to do

  1. Analyze the print function
  2. data types
  3. null safety
  4. Arithmetic Operators
  5. If else, switch, ternary
  6. For loop, while loop, do while
  7. Variable declarations, constant, final,,,,,

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.