mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
2
compass_app/app/.gitignore
vendored
2
compass_app/app/.gitignore
vendored
@@ -5,9 +5,11 @@
|
||||
*.swp
|
||||
.DS_Store
|
||||
.atom/
|
||||
.build/
|
||||
.buildlog/
|
||||
.history
|
||||
.svn/
|
||||
.swiftpm/
|
||||
migrate_working_dir/
|
||||
|
||||
# IntelliJ related
|
||||
|
||||
@@ -83,7 +83,7 @@ class _Card extends StatelessWidget {
|
||||
CachedNetworkImage(
|
||||
imageUrl: imageUrl,
|
||||
fit: BoxFit.cover,
|
||||
color: showTitle ? Colors.black.withOpacity(0.5) : null,
|
||||
color: showTitle ? Colors.black.withValues(alpha: 0.5) : null,
|
||||
colorBlendMode: showTitle ? BlendMode.darken : null,
|
||||
errorListener: imageErrorListener,
|
||||
),
|
||||
|
||||
@@ -8,6 +8,7 @@ import 'package:go_router/go_router.dart';
|
||||
import '../../../domain/models/booking/booking_summary.dart';
|
||||
import '../../../routing/routes.dart';
|
||||
import '../../core/localization/applocalization.dart';
|
||||
import '../../core/themes/colors.dart';
|
||||
import '../../core/themes/dimens.dart';
|
||||
import '../../core/ui/date_format_start_end.dart';
|
||||
import '../../core/ui/error_indicator.dart';
|
||||
@@ -166,6 +167,18 @@ class _Booking extends StatelessWidget {
|
||||
key: ValueKey(booking.id),
|
||||
direction: DismissDirection.endToStart,
|
||||
confirmDismiss: confirmDismiss,
|
||||
background: Container(
|
||||
color: AppColors.grey1,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: Dimens.paddingHorizontal),
|
||||
child: Icon(Icons.delete),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
child: InkWell(
|
||||
onTap: onTap,
|
||||
child: Padding(
|
||||
|
||||
Reference in New Issue
Block a user