Compare commits
2 Commits
e3632d4445
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4546e7d8e8 | ||
|
|
fc6a4f038e |
@@ -79,7 +79,8 @@ class SentryService {
|
|||||||
..beforeSend = (event, hint) {
|
..beforeSend = (event, hint) {
|
||||||
// Filter out certain errors if needed
|
// Filter out certain errors if needed
|
||||||
// Return null to drop the event
|
// Return null to drop the event
|
||||||
return event;
|
// return event;
|
||||||
|
return null;
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
appRunner: appRunner,
|
appRunner: appRunner,
|
||||||
|
|||||||
@@ -109,6 +109,15 @@ extension StringExtensions on String {
|
|||||||
if (cleaned.length < 10) return this;
|
if (cleaned.length < 10) return this;
|
||||||
return '${cleaned.substring(0, 4)} ${cleaned.substring(4, 7)} ***';
|
return '${cleaned.substring(0, 4)} ${cleaned.substring(4, 7)} ***';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Remove leading "#" from string (e.g., "#SO-001" -> "SO-001")
|
||||||
|
/// Useful for backend IDs that start with "#"
|
||||||
|
String get withoutHash {
|
||||||
|
if (startsWith('#')) {
|
||||||
|
return substring(1);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ class CartPage extends ConsumerStatefulWidget {
|
|||||||
|
|
||||||
class _CartPageState extends ConsumerState<CartPage> {
|
class _CartPageState extends ConsumerState<CartPage> {
|
||||||
bool _isSyncing = false;
|
bool _isSyncing = false;
|
||||||
|
bool _hasLoggedViewCart = false;
|
||||||
|
|
||||||
// Cart is initialized once in home_page.dart at app startup
|
// Cart is initialized once in home_page.dart at app startup
|
||||||
// Provider has keepAlive: true, so no need to reload here
|
// Provider has keepAlive: true, so no need to reload here
|
||||||
@@ -44,18 +45,10 @@ class _CartPageState extends ConsumerState<CartPage> {
|
|||||||
// and in checkout button handler for checkout flow.
|
// and in checkout button handler for checkout flow.
|
||||||
// No dispose() method needed - using ref.read() in dispose() is unsafe.
|
// No dispose() method needed - using ref.read() in dispose() is unsafe.
|
||||||
|
|
||||||
@override
|
void _logViewCartOnce(CartState cartState) {
|
||||||
Widget build(BuildContext context) {
|
if (_hasLoggedViewCart || cartState.isEmpty) return;
|
||||||
final colorScheme = Theme.of(context).colorScheme;
|
_hasLoggedViewCart = true;
|
||||||
final cartState = ref.watch(cartProvider);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
final itemCount = cartState.itemCount;
|
|
||||||
final hasSelection = cartState.selectedCount > 0;
|
|
||||||
|
|
||||||
// Log view cart analytics event when cart has items
|
|
||||||
if (cartState.isNotEmpty) {
|
|
||||||
AnalyticsService.logViewCart(
|
AnalyticsService.logViewCart(
|
||||||
cartValue: cartState.selectedTotal,
|
cartValue: cartState.selectedTotal,
|
||||||
items: cartState.items.map((item) => AnalyticsEventItem(
|
items: cartState.items.map((item) => AnalyticsEventItem(
|
||||||
@@ -67,6 +60,17 @@ class _CartPageState extends ConsumerState<CartPage> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
final colorScheme = Theme.of(context).colorScheme;
|
||||||
|
final cartState = ref.watch(cartProvider);
|
||||||
|
|
||||||
|
// Log view cart analytics event only once when page opens
|
||||||
|
_logViewCartOnce(cartState);
|
||||||
|
|
||||||
|
final itemCount = cartState.itemCount;
|
||||||
|
final hasSelection = cartState.selectedCount > 0;
|
||||||
|
|
||||||
return PopScope(
|
return PopScope(
|
||||||
// Intercept back navigation to sync pending updates
|
// Intercept back navigation to sync pending updates
|
||||||
onPopInvokedWithResult: (didPop, result) async {
|
onPopInvokedWithResult: (didPop, result) async {
|
||||||
@@ -346,6 +350,7 @@ class _CartPageState extends ConsumerState<CartPage> {
|
|||||||
|
|
||||||
/// Build error banner (shown at top when there's an error but cart has items)
|
/// Build error banner (shown at top when there's an error but cart has items)
|
||||||
Widget _buildErrorBanner(String errorMessage) {
|
Widget _buildErrorBanner(String errorMessage) {
|
||||||
|
print(errorMessage);
|
||||||
return Container(
|
return Container(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import 'package:cached_network_image/cached_network_image.dart';
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||||
import 'package:intl/intl.dart';
|
import 'package:go_router/go_router.dart';
|
||||||
import 'package:worker/core/utils/extensions.dart';
|
import 'package:worker/core/utils/extensions.dart';
|
||||||
import 'package:worker/core/widgets/loading_indicator.dart';
|
import 'package:worker/core/widgets/loading_indicator.dart';
|
||||||
import 'package:worker/core/theme/typography.dart';
|
import 'package:worker/core/theme/typography.dart';
|
||||||
@@ -113,8 +113,13 @@ class _CartItemWidgetState extends ConsumerState<CartItemWidget> {
|
|||||||
|
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
|
|
||||||
// Product Image (bigger: 100x100)
|
// Product Image (bigger: 100x100) - tap to navigate to product detail
|
||||||
ClipRRect(
|
GestureDetector(
|
||||||
|
onTap: () {
|
||||||
|
// Navigate to product detail with product ID in path
|
||||||
|
context.push('/products/${widget.item.product.productId}');
|
||||||
|
},
|
||||||
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
child: CachedNetworkImage(
|
child: CachedNetworkImage(
|
||||||
imageUrl: widget.item.product.thumbnail.isNotEmpty
|
imageUrl: widget.item.product.thumbnail.isNotEmpty
|
||||||
@@ -145,6 +150,7 @@ class _CartItemWidgetState extends ConsumerState<CartItemWidget> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
|
|
||||||
@@ -193,14 +199,15 @@ class _CartItemWidgetState extends ConsumerState<CartItemWidget> {
|
|||||||
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
|
|
||||||
// Quantity TextField
|
// Quantity TextField - uses text keyboard for Done button on iOS/Android
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 50,
|
width: 50,
|
||||||
height: 32,
|
height: 32,
|
||||||
child: TextField(
|
child: TextField(
|
||||||
controller: _quantityController,
|
controller: _quantityController,
|
||||||
focusNode: _quantityFocusNode,
|
focusNode: _quantityFocusNode,
|
||||||
keyboardType: TextInputType.number,
|
keyboardType: TextInputType.text,
|
||||||
|
textInputAction: TextInputAction.done,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: AppTypography.titleMedium.copyWith(
|
style: AppTypography.titleMedium.copyWith(
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ class _HomePageState extends ConsumerState<HomePage> {
|
|||||||
actions: [
|
actions: [
|
||||||
QuickAction(
|
QuickAction(
|
||||||
icon: FontAwesomeIcons.circlePlus,
|
icon: FontAwesomeIcons.circlePlus,
|
||||||
label: 'Ghi nhận điểm',
|
label: 'Tham gia sự kiện',
|
||||||
onTap: () => context.push(RouteNames.pointsRecords),
|
onTap: () => context.push(RouteNames.pointsRecords),
|
||||||
),
|
),
|
||||||
QuickAction(
|
QuickAction(
|
||||||
@@ -216,7 +216,7 @@ class _HomePageState extends ConsumerState<HomePage> {
|
|||||||
|
|
||||||
// Sample Houses & News Section
|
// Sample Houses & News Section
|
||||||
QuickActionSection(
|
QuickActionSection(
|
||||||
title: 'Nhà mẫu, dự án & tin tức',
|
title: 'Nhà mẫu & Dự án',
|
||||||
actions: [
|
actions: [
|
||||||
QuickAction(
|
QuickAction(
|
||||||
icon: FontAwesomeIcons.houseCircleCheck,
|
icon: FontAwesomeIcons.houseCircleCheck,
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ class InvoiceDetailPage extends ConsumerWidget {
|
|||||||
|
|
||||||
// Invoice Number
|
// Invoice Number
|
||||||
Text(
|
Text(
|
||||||
'#${invoice.name}',
|
invoice.name,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
@@ -192,7 +192,7 @@ class InvoiceDetailPage extends ConsumerWidget {
|
|||||||
_MetaItem(label: 'Ngày xuất:', value: invoice.formattedDate),
|
_MetaItem(label: 'Ngày xuất:', value: invoice.formattedDate),
|
||||||
if (invoice.orderId != null) ...[
|
if (invoice.orderId != null) ...[
|
||||||
const SizedBox(width: 32),
|
const SizedBox(width: 32),
|
||||||
_MetaItem(label: 'Đơn hàng:', value: '#${invoice.orderId}'),
|
_MetaItem(label: 'Đơn hàng:', value: '${invoice.orderId}'),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ class _InvoiceCard extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'#${invoice.name}',
|
invoice.name,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
@@ -252,7 +252,7 @@ class _InvoiceCard extends StatelessWidget {
|
|||||||
if (invoice.orderId != null)
|
if (invoice.orderId != null)
|
||||||
_DetailRow(
|
_DetailRow(
|
||||||
label: 'Đơn hàng:',
|
label: 'Đơn hàng:',
|
||||||
value: '#${invoice.orderId}',
|
value: '${invoice.orderId}',
|
||||||
),
|
),
|
||||||
_DetailRow(
|
_DetailRow(
|
||||||
label: 'Tổng tiền:',
|
label: 'Tổng tiền:',
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ class PointsHistoryPage extends ConsumerWidget {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
'Mã tham chiếu: #${entry.entryId}',
|
'Mã tham chiếu: ${entry.entryId}',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
color: colorScheme.onSurfaceVariant,
|
color: colorScheme.onSurfaceVariant,
|
||||||
|
|||||||
@@ -295,7 +295,7 @@ class PointsRecordsPage extends ConsumerWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'#${record.recordId}',
|
record.recordId,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ class NotificationsPage extends HookConsumerWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context, WidgetRef ref) {
|
Widget build(BuildContext context, WidgetRef ref) {
|
||||||
|
final colorScheme = Theme.of(context).colorScheme;
|
||||||
|
|
||||||
// Use Flutter hooks for local state management
|
// Use Flutter hooks for local state management
|
||||||
final selectedCategory = useState<String>('general');
|
final selectedCategory = useState<String>('general');
|
||||||
final notificationsAsync = ref.watch(
|
final notificationsAsync = ref.watch(
|
||||||
@@ -34,13 +36,19 @@ class NotificationsPage extends HookConsumerWidget {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: const Color(0xFFF4F6F8),
|
backgroundColor: colorScheme.surfaceContainerLowest,
|
||||||
body: SafeArea(
|
appBar: AppBar(
|
||||||
child: Column(
|
title: Text(
|
||||||
|
'Thông báo',
|
||||||
|
style: TextStyle(color: colorScheme.onSurface),
|
||||||
|
),
|
||||||
|
elevation: AppBarSpecs.elevation,
|
||||||
|
backgroundColor: colorScheme.surface,
|
||||||
|
foregroundColor: colorScheme.onSurface,
|
||||||
|
centerTitle: false,
|
||||||
|
),
|
||||||
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
// Header
|
|
||||||
_buildHeader(),
|
|
||||||
|
|
||||||
// Tabs
|
// Tabs
|
||||||
_buildTabs(context, selectedCategory),
|
_buildTabs(context, selectedCategory),
|
||||||
|
|
||||||
@@ -60,33 +68,6 @@ class NotificationsPage extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Build header
|
|
||||||
Widget _buildHeader() {
|
|
||||||
return Container(
|
|
||||||
width: double.infinity,
|
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: Colors.white,
|
|
||||||
boxShadow: [
|
|
||||||
BoxShadow(
|
|
||||||
color: Colors.black.withValues(alpha: 0.05),
|
|
||||||
blurRadius: 8,
|
|
||||||
offset: const Offset(0, 2),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
child: const Text(
|
|
||||||
'Thông báo',
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 18,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
color: Color(0xFF212121),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ class OrderDetailPage extends ConsumerWidget {
|
|||||||
children: [
|
children: [
|
||||||
// Order Number and Status Badge
|
// Order Number and Status Badge
|
||||||
Text(
|
Text(
|
||||||
'#${order.name}',
|
order.name,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ class PaymentDetailPage extends ConsumerWidget {
|
|||||||
Column(
|
Column(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'#$invoiceNumber',
|
'$invoiceNumber',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ class PaymentsPage extends ConsumerWidget {
|
|||||||
children: [
|
children: [
|
||||||
_DetailRow(
|
_DetailRow(
|
||||||
label: 'Mã giao dịch:',
|
label: 'Mã giao dịch:',
|
||||||
value: '#${payment.name}',
|
value: '${payment.name}',
|
||||||
),
|
),
|
||||||
_DetailRow(
|
_DetailRow(
|
||||||
label: 'Loại giao dịch:',
|
label: 'Loại giao dịch:',
|
||||||
@@ -325,7 +325,7 @@ class _TransactionCard extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'#${payment.name}',
|
payment.name,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class OrderCard extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
// Order number
|
// Order number
|
||||||
Text(
|
Text(
|
||||||
'#${order.name}',
|
'${order.name}',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -138,7 +138,15 @@ class ProductsRemoteDataSource {
|
|||||||
throw Exception('Product not found: $itemCode');
|
throw Exception('Product not found: $itemCode');
|
||||||
}
|
}
|
||||||
|
|
||||||
return ProductModel.fromJson(message as Map<String, dynamic>);
|
// Handle API error response: {success: false, message: "Item not found"}
|
||||||
|
if (message is Map<String, dynamic>) {
|
||||||
|
if (message['success'] == false) {
|
||||||
|
throw Exception(message['message'] ?? 'Product not found: $itemCode');
|
||||||
|
}
|
||||||
|
return ProductModel.fromJson(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
throw Exception('Invalid response format for product: $itemCode');
|
||||||
} on DioException catch (e) {
|
} on DioException catch (e) {
|
||||||
if (e.response?.statusCode == 404) {
|
if (e.response?.statusCode == 404) {
|
||||||
throw Exception('Product not found: $itemCode');
|
throw Exception('Product not found: $itemCode');
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ class _QuotesPageState extends ConsumerState<QuotesPage> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'#${quote.quoteNumber}',
|
'${quote.quoteNumber}',
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ class DesignRequestDetailPage extends ConsumerWidget {
|
|||||||
children: [
|
children: [
|
||||||
// Request ID
|
// Request ID
|
||||||
Text(
|
Text(
|
||||||
'#${request.id}',
|
'${request.id}',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
|
|||||||
@@ -509,21 +509,7 @@ class _RequestCard extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
// Header: Code and Status
|
// Header: Code and Status
|
||||||
Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
||||||
children: [
|
|
||||||
Expanded(
|
|
||||||
child: Text(
|
|
||||||
'Mã yêu cầu: #${request.id}',
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 16,
|
|
||||||
fontWeight: FontWeight.w700,
|
|
||||||
color: colorScheme.onSurface,
|
|
||||||
),
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 8),
|
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
horizontal: 12,
|
horizontal: 12,
|
||||||
@@ -542,7 +528,16 @@ class _RequestCard extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
const SizedBox(height: 8),
|
||||||
|
|
||||||
|
Text(
|
||||||
|
'Mã yêu cầu: #${request.id}',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 16,
|
||||||
|
fontWeight: FontWeight.w700,
|
||||||
|
color: colorScheme.onSurface,
|
||||||
|
),
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
@@ -566,16 +561,16 @@ class _RequestCard extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
if (request.plainDescription.isNotEmpty) ...[
|
// if (request.plainDescription.isNotEmpty) ...[
|
||||||
const SizedBox(height: 4),
|
// const SizedBox(height: 4),
|
||||||
// Description
|
// // Description
|
||||||
Text(
|
// Text(
|
||||||
request.plainDescription,
|
// request.plainDescription,
|
||||||
style: TextStyle(fontSize: 14, color: colorScheme.onSurfaceVariant),
|
// style: TextStyle(fontSize: 14, color: colorScheme.onSurfaceVariant),
|
||||||
maxLines: 2,
|
// maxLines: 2,
|
||||||
overflow: TextOverflow.ellipsis,
|
// overflow: TextOverflow.ellipsis,
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user