mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
@@ -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,
|
||||
),
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user