initial fixes for 3.27

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

@ -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(

@ -4,7 +4,6 @@
import 'package:device_info/device_info.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
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+
// 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.red.toRadixString(16).padLeft(2, '0');
hex += c.green.toRadixString(16).padLeft(2, '0');
hex += c.blue.toRadixString(16).padLeft(2, '0');
hex += c.r.round().toRadixString(16).padLeft(2, '0');
hex += c.g.round().toRadixString(16).padLeft(2, '0');
hex += c.b.round().toRadixString(16).padLeft(2, '0');
final data = ClipboardData(text: hex);
await Clipboard.setData(data);
messenger.hideCurrentSnackBar();

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

@ -23,9 +23,8 @@ declare -ar PROJECT_NAMES=(
"code_sharing/client"
"code_sharing/server"
"code_sharing/shared"
# @ewindmill: withOpacity is deprecated
# "compass_app/app"
# "compass_app/server"
"compass_app/app"
"compass_app/server"
"context_menus"
"deeplink_store_example"
"desktop_photo_search/fluent_ui"
@ -41,19 +40,16 @@ declare -ar PROJECT_NAMES=(
# "experimental/pedometer"
"experimental/pedometer/example"
"experimental/varfont_shader_puzzle"
# TODO(ewindmill): whereNotNull deprecated in dart:collection
# "experimental/web_dashboard"
"experimental/web_dashboard"
"flutter_maps_firestore"
"form_app"
"game_template"
"gemini_tasks"
"google_maps"
"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"
# 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"
"place_tracker"
"platform_channels"

@ -23,9 +23,8 @@ declare -ar PROJECT_NAMES=(
"code_sharing/client"
"code_sharing/server"
"code_sharing/shared"
# @ewindmill: withOpacity is deprecated
# "compass_app/app"
# "compass_app/server"
"compass_app/app"
"compass_app/server"
"context_menus"
"deeplink_store_example"
"desktop_photo_search/fluent_ui"
@ -41,19 +40,16 @@ declare -ar PROJECT_NAMES=(
# "experimental/pedometer"
"experimental/pedometer/example"
"experimental/varfont_shader_puzzle"
# TODO(ewindmill): whereNotNull deprecated in dart:collection
# "experimental/web_dashboard"
"experimental/web_dashboard"
"flutter_maps_firestore"
"form_app"
"game_template"
"gemini_tasks"
"google_maps"
"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"
# 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"
"place_tracker"
"platform_channels"

Loading…
Cancel
Save