initial fixes for 3.27

pull/2483/head
Eric Windmill 3 months ago
parent ef9f245b6b
commit ebe528407e

@ -5,9 +5,11 @@
*.swp *.swp
.DS_Store .DS_Store
.atom/ .atom/
.build/
.buildlog/ .buildlog/
.history .history
.svn/ .svn/
.swiftpm/
migrate_working_dir/ migrate_working_dir/
# IntelliJ related # IntelliJ related

@ -83,7 +83,7 @@ class _Card extends StatelessWidget {
CachedNetworkImage( CachedNetworkImage(
imageUrl: imageUrl, imageUrl: imageUrl,
fit: BoxFit.cover, 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, colorBlendMode: showTitle ? BlendMode.darken : null,
errorListener: imageErrorListener, errorListener: imageErrorListener,
), ),

@ -8,6 +8,7 @@ import 'package:go_router/go_router.dart';
import '../../../domain/models/booking/booking_summary.dart'; import '../../../domain/models/booking/booking_summary.dart';
import '../../../routing/routes.dart'; import '../../../routing/routes.dart';
import '../../core/localization/applocalization.dart'; import '../../core/localization/applocalization.dart';
import '../../core/themes/colors.dart';
import '../../core/themes/dimens.dart'; import '../../core/themes/dimens.dart';
import '../../core/ui/date_format_start_end.dart'; import '../../core/ui/date_format_start_end.dart';
import '../../core/ui/error_indicator.dart'; import '../../core/ui/error_indicator.dart';
@ -166,6 +167,18 @@ class _Booking extends StatelessWidget {
key: ValueKey(booking.id), key: ValueKey(booking.id),
direction: DismissDirection.endToStart, direction: DismissDirection.endToStart,
confirmDismiss: confirmDismiss, 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( child: InkWell(
onTap: onTap, onTap: onTap,
child: Padding( child: Padding(

@ -4,7 +4,6 @@
import 'package:device_info/device_info.dart'; import 'package:device_info/device_info.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() { void main() {
runApp(const Demo()); runApp(const Demo());

@ -74,9 +74,9 @@ class _ColorBoxState extends State<ColorBox> {
// Will change from int 0-255 to double 0.0-1.0 in 3.26+ // Will change from int 0-255 to double 0.0-1.0 in 3.26+
// The properties also change from red/green/blue to r/g/b // The properties also change from red/green/blue to r/g/b
// hex += (c.[r g b] * 255.0).round().toRadixString(16).padLeft(2, '0'); // hex += (c.[r g b] * 255.0).round().toRadixString(16).padLeft(2, '0');
hex += c.red.toRadixString(16).padLeft(2, '0'); hex += c.r.round().toRadixString(16).padLeft(2, '0');
hex += c.green.toRadixString(16).padLeft(2, '0'); hex += c.g.round().toRadixString(16).padLeft(2, '0');
hex += c.blue.toRadixString(16).padLeft(2, '0'); hex += c.b.round().toRadixString(16).padLeft(2, '0');
final data = ClipboardData(text: hex); final data = ClipboardData(text: hex);
await Clipboard.setData(data); await Clipboard.setData(data);
messenger.hideCurrentSnackBar(); messenger.hideCurrentSnackBar();

@ -9,7 +9,6 @@ version: 1.0.0+1
environment: environment:
sdk: ^3.5.0 sdk: ^3.5.0
flutter: ^3.19.0
dependencies: dependencies:
flutter: flutter:

@ -23,9 +23,8 @@ declare -ar PROJECT_NAMES=(
"code_sharing/client" "code_sharing/client"
"code_sharing/server" "code_sharing/server"
"code_sharing/shared" "code_sharing/shared"
# @ewindmill: withOpacity is deprecated "compass_app/app"
# "compass_app/app" "compass_app/server"
# "compass_app/server"
"context_menus" "context_menus"
"deeplink_store_example" "deeplink_store_example"
"desktop_photo_search/fluent_ui" "desktop_photo_search/fluent_ui"
@ -41,19 +40,16 @@ declare -ar PROJECT_NAMES=(
# "experimental/pedometer" # "experimental/pedometer"
"experimental/pedometer/example" "experimental/pedometer/example"
"experimental/varfont_shader_puzzle" "experimental/varfont_shader_puzzle"
# TODO(ewindmill): whereNotNull deprecated in dart:collection "experimental/web_dashboard"
# "experimental/web_dashboard"
"flutter_maps_firestore" "flutter_maps_firestore"
"form_app" "form_app"
"game_template" "game_template"
"gemini_tasks" "gemini_tasks"
"google_maps" "google_maps"
"infinite_list" "infinite_list"
# TODO(domesticmouse): The import of 'package:flutter/material.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart'. "ios_app_clip"
# "ios_app_clip"
"isolate_example" "isolate_example"
# TODO(ewindmill): Color.red is deprecated and should be Color.r (same for green and blue) "material_3_demo"
# "material_3_demo"
"navigation_and_routing" "navigation_and_routing"
"place_tracker" "place_tracker"
"platform_channels" "platform_channels"

@ -23,9 +23,8 @@ declare -ar PROJECT_NAMES=(
"code_sharing/client" "code_sharing/client"
"code_sharing/server" "code_sharing/server"
"code_sharing/shared" "code_sharing/shared"
# @ewindmill: withOpacity is deprecated "compass_app/app"
# "compass_app/app" "compass_app/server"
# "compass_app/server"
"context_menus" "context_menus"
"deeplink_store_example" "deeplink_store_example"
"desktop_photo_search/fluent_ui" "desktop_photo_search/fluent_ui"
@ -41,19 +40,16 @@ declare -ar PROJECT_NAMES=(
# "experimental/pedometer" # "experimental/pedometer"
"experimental/pedometer/example" "experimental/pedometer/example"
"experimental/varfont_shader_puzzle" "experimental/varfont_shader_puzzle"
# TODO(ewindmill): whereNotNull deprecated in dart:collection "experimental/web_dashboard"
# "experimental/web_dashboard"
"flutter_maps_firestore" "flutter_maps_firestore"
"form_app" "form_app"
"game_template" "game_template"
"gemini_tasks" "gemini_tasks"
"google_maps" "google_maps"
"infinite_list" "infinite_list"
# TODO(domesticmouse): The import of 'package:flutter/material.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart'. "ios_app_clip"
# "ios_app_clip"
"isolate_example" "isolate_example"
# TODO(ewindmill): Color.red is deprecated and should be Color.r (same for green and blue) "material_3_demo"
# "material_3_demo"
"navigation_and_routing" "navigation_and_routing"
"place_tracker" "place_tracker"
"platform_channels" "platform_channels"

Loading…
Cancel
Save