fix: adding vertical padding for progress bar (#2753)

This commit is contained in:
Nathan.fooo
2023-06-10 14:57:52 +08:00
committed by GitHub
parent d4e39389d2
commit 4ce94a9ceb

View File

@ -32,8 +32,10 @@ class _ChecklistCardCellState extends State<ChecklistCardCell> {
return BlocProvider.value( return BlocProvider.value(
value: _cellBloc, value: _cellBloc,
child: BlocBuilder<ChecklistCardCellBloc, ChecklistCellState>( child: BlocBuilder<ChecklistCardCellBloc, ChecklistCellState>(
builder: (context, state) => builder: (context, state) => Padding(
ChecklistProgressBar(percent: state.percent), padding: const EdgeInsets.symmetric(vertical: 4),
child: ChecklistProgressBar(percent: state.percent),
),
), ),
); );
} }