Page 2 - Dart Language
P. 2

Table of Contents


        About                                                                                                  1

        Chapter 1: Getting started with dart                                                                   2

          Remarks                                                                                              2

          Links                                                                                                2

          Documentation                                                                                        2


          FAQ                                                                                                  3

          Versions                                                                                             3

          Examples                                                                                             5

            Installation or Setup                                                                              5

          Automated installation and updates                                                                   5

          Manual install                                                                                       5

            Hello, World!                                                                                      5
            Http Request                                                                                       6

          Html                                                                                                 6

          Dart                                                                                                 6


          Example                                                                                              6

            Getters and Setters                                                                                6

        Chapter 2: Asynchronous Programming                                                                    8

          Examples                                                                                             8

            Returning a Future using a Completer                                                               8

            Async and Await                                                                                    8

            Converting callbacks to Futures                                                                    9
        Chapter 3: Classes                                                                                   10


          Examples                                                                                            10

            Creating a class                                                                                  10

            Members                                                                                           10
            Constructors                                                                                      11

        Chapter 4: Collections                                                                               13


          Examples                                                                                            13

            Creating a new List                                                                               13
   1   2   3   4   5   6   7