Format shared Material primitive integration
This commit is contained in:
@@ -238,7 +238,10 @@ class PipelineListPanel extends StatelessWidget {
|
||||
? null
|
||||
: AppListStatusDot(
|
||||
key: Key('pipeline-status-${pipeline.id}'),
|
||||
color: runStatusColor(badge.state, Theme.of(context).colorScheme),
|
||||
color: runStatusColor(
|
||||
badge.state,
|
||||
Theme.of(context).colorScheme,
|
||||
),
|
||||
semanticLabel: runStateLabel(badge.state),
|
||||
),
|
||||
subtitle: Text(
|
||||
@@ -280,10 +283,7 @@ class PipelineListPanel extends StatelessWidget {
|
||||
|
||||
/// The pipeline's initial on a tint picked from its id, so neighbouring
|
||||
/// pipelines are told apart at a glance.
|
||||
Widget _pipelineIdentityIcon(
|
||||
BuildContext context,
|
||||
PipelineSummary pipeline,
|
||||
) {
|
||||
Widget _pipelineIdentityIcon(BuildContext context, PipelineSummary pipeline) {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
final colors = [scheme.primary, scheme.secondary, scheme.tertiary];
|
||||
return Semantics(
|
||||
|
||||
Reference in New Issue
Block a user