1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

CI Fix, part #2 (#2423)

This commit is contained in:
Brett Morgan
2024-09-01 17:25:33 +10:00
committed by GitHub
parent 82a8a8411e
commit 8d208d7fd4
16 changed files with 65 additions and 63 deletions

View File

@@ -223,7 +223,7 @@ class PromptScreen extends StatelessWidget {
iconColor: Colors.black45,
buttonBackgroundColor: Colors.transparent,
hoverColor:
MarketplaceTheme.secondary.withOpacity(.1),
MarketplaceTheme.secondary.withAlpha(25),
),
),
const Spacer(flex: 1),
@@ -292,7 +292,7 @@ class PromptScreen extends StatelessWidget {
icon: Symbols.restart_alt,
iconColor: Colors.black45,
buttonBackgroundColor: Colors.transparent,
hoverColor: MarketplaceTheme.secondary.withOpacity(.1),
hoverColor: MarketplaceTheme.secondary.withAlpha(25),
),
),
const SizedBox(height: 200.0),
@@ -322,7 +322,7 @@ class _FilterChipSection extends StatelessWidget {
child: Container(
height: 230,
decoration: BoxDecoration(
color: Theme.of(context).splashColor.withOpacity(.1),
color: Theme.of(context).splashColor.withAlpha(25),
border: Border.all(
color: MarketplaceTheme.borderColor,
),

View File

@@ -201,7 +201,7 @@ class _CameraViewState extends State<CameraView> {
right: 0,
height: 89.5,
child: Container(
color: Colors.black.withOpacity(.7),
color: Colors.black.withAlpha(179),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
@@ -247,7 +247,7 @@ class _CameraViewState extends State<CameraView> {
right: 0,
height: 150,
child: Container(
color: Colors.black.withOpacity(.7),
color: Colors.black.withAlpha(179),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [

View File

@@ -193,7 +193,7 @@ class _ListTileState extends State<_ListTile> {
bottomLeft:
Radius.circular(MarketplaceTheme.defaultBorderRadius),
),
color: color.withOpacity(.3),
color: color.withAlpha(77),
),
padding: const EdgeInsets.all(MarketplaceTheme.spacing7),
child: Stack(

View File

@@ -76,7 +76,7 @@ class RecipeDisplayWidget extends StatelessWidget {
children: [
Container(
padding: const EdgeInsets.all(MarketplaceTheme.defaultBorderRadius),
color: MarketplaceTheme.primary.withOpacity(.5),
color: MarketplaceTheme.primary.withAlpha(128),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -106,7 +106,7 @@ class RecipeDisplayWidget extends StatelessWidget {
style: ButtonStyle(
backgroundColor: WidgetStateColor.resolveWith((states) {
if (states.contains(WidgetState.hovered)) {
return MarketplaceTheme.scrim.withOpacity(.6);
return MarketplaceTheme.scrim.withAlpha(153);
}
return Colors.white;
}),