From 63e5ccb7c30f0a5f138ee36790ffadbf9f77c82e Mon Sep 17 00:00:00 2001 From: Kima Date: Sat, 26 Aug 2023 13:27:58 +0200 Subject: [PATCH] added rounded expansion tile (fixed absence bug) --- filcnaplo/ios/Runner.xcodeproj/project.pbxproj | 2 +- .../lib/common/widgets/absence_group/absence_group_tile.dart | 3 ++- filcnaplo_mobile_ui/pubspec.yaml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/filcnaplo/ios/Runner.xcodeproj/project.pbxproj b/filcnaplo/ios/Runner.xcodeproj/project.pbxproj index 6b1dec6..9e68f47 100644 --- a/filcnaplo/ios/Runner.xcodeproj/project.pbxproj +++ b/filcnaplo/ios/Runner.xcodeproj/project.pbxproj @@ -198,9 +198,9 @@ isa = PBXNativeTarget; buildConfigurationList = 3127F79F28EAEDE300C2EFB3 /* Build configuration list for PBXNativeTarget "livecard" */; buildPhases = ( + 3127F78A28EAEDE200C2EFB3 /* Resources */, 3127F78828EAEDE200C2EFB3 /* Sources */, 3127F78928EAEDE200C2EFB3 /* Frameworks */, - 3127F78A28EAEDE200C2EFB3 /* Resources */, ); buildRules = ( ); diff --git a/filcnaplo_mobile_ui/lib/common/widgets/absence_group/absence_group_tile.dart b/filcnaplo_mobile_ui/lib/common/widgets/absence_group/absence_group_tile.dart index 8ba3974..3bae643 100755 --- a/filcnaplo_mobile_ui/lib/common/widgets/absence_group/absence_group_tile.dart +++ b/filcnaplo_mobile_ui/lib/common/widgets/absence_group/absence_group_tile.dart @@ -6,6 +6,7 @@ import 'package:filcnaplo_mobile_ui/common/widgets/absence/absence_tile.dart'; import 'package:filcnaplo/utils/format.dart'; import 'package:flutter/material.dart'; import 'absence_group_tile.i18n.dart'; +import 'package:rounded_expansion_tile/rounded_expansion_tile.dart'; class AbsenceGroupTile extends StatelessWidget { const AbsenceGroupTile(this.absences, @@ -32,7 +33,7 @@ class AbsenceGroupTile extends StatelessWidget { child: Padding( padding: padding ?? const EdgeInsets.symmetric(horizontal: 8.0), child: AbsenceGroupContainer( - child: ExpansionTile( + child: RoundedExpansionTile( shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10)), tilePadding: const EdgeInsets.symmetric(horizontal: 8.0), diff --git a/filcnaplo_mobile_ui/pubspec.yaml b/filcnaplo_mobile_ui/pubspec.yaml index ced8ee0..df07316 100755 --- a/filcnaplo_mobile_ui/pubspec.yaml +++ b/filcnaplo_mobile_ui/pubspec.yaml @@ -43,6 +43,7 @@ dependencies: dotted_border: ^2.0.0+3 screenshot: ^2.1.0 image_gallery_saver: ^2.0.2 + rounded_expansion_tile: ^0.0.13 dev_dependencies: flutter_lints: ^1.0.0