import 'package:flutter/material.dart'; import 'package:niogu_app/core/constants/app_font_size.dart'; import 'package:sizer/sizer.dart'; class FixedOutlet extends StatelessWidget { final String value; const FixedOutlet({super.key, required this.value}); @override Widget build(BuildContext context) { final bool isTablet = 100.w >= 600; return Container( height: 5.5.h, padding: EdgeInsets.symmetric(horizontal: 3.w), decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(2.5.w), border: Border.all(color: Colors.grey.shade300), ), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Expanded( child: Text( value, maxLines: 1, overflow: TextOverflow.ellipsis, style: TextStyle( fontSize: isTablet ? AppFontSize.medium.sp : AppFontSize.small.sp, fontWeight: FontWeight.w600, ), ), ), Icon(Icons.store_outlined, size: 5.w, color: Colors.grey.shade700), ], ), ); } }