List filled flutter
Ngày đăng:
27/02/2022
Trả lời:
0
Lượt xem:
98
Flutter: List is deprecated?Ok found it, it's just how to instantiate it: ListEdit: maybe the most common ones, a bit more detailed according to the docs: Fixed-length list of size 0 ListGrowable list Fixed length with predefined fill int length = 3; String fill = "test"; ListList with generate function int length = 3; MyClass myFun(int idx) => MyClass(id: idx); List |