INNER CODE UNIT · Dart

_BuildDaysState

bmaroti9/Overmorrow · lib/daily.dart:72

class _BuildDaysState extends State<BuildDays> with AutomaticKeepAliveClientMixin {

  static const int maxToShow = 7;

  bool isExpanded = false;
  int dayCap = maxToShow;

  late List<bool> expand = [];

  @override
  void initState() {
    super.initState();
    for (int i = 0; i < 20; i++) { //there will never be more days than 20
      expand.add(false);
    }
  }

  void _onExpandTapped(int index) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…