16 - Flutter ListView( Building Scrollable Lists ) & Spread operator( ... ) | Course FLutter بالعربي

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • ListView :
    ListView is basically a list of items. Users can scroll vertically or horizontally to see more items whenever the list is too big to fit on screen.
    :
    Spread operator :
    Spread operator, which makes it possible for us to add multiple values to a collection. This collection can be a list, a set, or a map. This operator is a replacement for add or addAll operator in dart.
    The spread operator is three dots, we can use this operator to add the list values to another list and if we want to do a null-aware check we can add a question mark to the expression which you want to add to our list.
    EX :
    INPUT:
    void main() {
    // initialise a List l1
    List? l1 = ["Geeks","For","Geeks"];
    // initialize another List l2 using l1
    List? l2=["Wow",...l1,"is","amazing"];
    // print List l2
    print(l2);
    }
    OUTPUT: [Wow, Geeks, For, Geeks, is, amazing]
    -------------------------------------------------------------
    #flutter
    #fluttertutorial
    #fluttertutorialforbeginners
    #flutterwidgets
    #listview
    #flutter_listview
    #spread_operator
    لو عجبك الفيديو أعمل لايك و شير 👨‍💻💙
    Muslim App :
    • 14 - Building a Simple...
    --------------------------------------------------------------
    OOP Course :
    • 01 - Introduction To O...
    --------------------------------------------------------------
    function lessions :
    • 22 - الداله الجزء الاو...
    • 23 - الداله الجزء الثا...
    • 24 - الداله الجزء الثا...
    • 25 - الداله الجزء الرا...
    ----------------------------------------------------------
    Flutter - Dart Course
    ​ ‪@ahmed_elsapagh‬
    ----------------------------------------------------------
    Preparation, Presentation and Editing By : Ahmed Elsapagh
    ..
    Portfolio : ahmedelsapagh1...
    facebook group : / programmmingforall
    linkedIn : / ahmed-elsapagh-aa8010220
    GitHub : github.com/Ahm...
    جروب تليجرام(flutter and dart) : t.me/flutter_c...
    جروب تليجرام (Problem solving) : t.me/learn_pro...
    youtube : www.youtube.co...
    ..
    Tools :
    Adobe Premiere for Video editiong
    Adobe photoshop for editing photo
    Adobe After effect for motion graphic
    Camtasia studio for screen record
    microphone : Boya - By M1

Комментарии • 2