// 리스트의 인덱스 키 선택 여부를 관리하는 bool 리스트를 만듦
List invisibleTableRowSwitchList = [];
void _buildInvisibleTableRowSwitch(int switchLength) {
invisibleTableRowSwitchList = List<bool>.generate(switchLength, (int index) => false, growable: true);
}
728x90
'Flutter' 카테고리의 다른 글
[Flutter] flutter text overflow in container (0) | 2023.01.12 |
---|---|
[Flutter] flutter listtile remove padding (0) | 2023.01.10 |
[Flutter / Error] Locale data has not been initialized, call initializeDateFormatting(<locale>). (0) | 2022.12.15 |
[iOS] 앱 이전 (0) | 2022.11.18 |
[Flutter / iOS] 'No such module' 에러로 archive build failed (0) | 2022.08.31 |