INNER CODE UNIT · Dart
bottom
bmaroti9/Overmorrow · lib/daily.dart:134
bottom: index == daysToShow - 1 && !showButton
? const Radius.circular(33) : const Radius.circular(6),
),
color: Theme.of(context).colorScheme.surfaceContainer
),
child: AnimatedSize(
duration: const Duration(milliseconds: 250),
curve: Curves.easeInOut,
child: expand[index] ? DailyExpanded(day: day, onExpandTapped: _onExpandTapped, index: index)
: DailyCollapsed(data: widget.data, day: day, index: index, onExpandTapped: _onExpandTapped)
)
),
);
}
),
),
if (showButton) GestureDetector(
behavior: HitTestBehavior.translucent,