push bug fixes

This commit is contained in:
ashrafzarkanisala
2024-08-28 21:02:51 +03:00
parent adf19818e7
commit 5f8957c9c1
4 changed files with 11 additions and 6 deletions

View File

@ -196,6 +196,7 @@ class _DynamicTableState extends State<DynamicTable> {
fontSize: 13,
color: Color(0xFF999999),
),
maxLines: 2,
),
),
),
@ -254,6 +255,7 @@ class _DynamicTableState extends State<DynamicTable> {
: statusColor,
fontSize: 10,
fontWeight: FontWeight.w400),
maxLines: 2,
),
),
);

View File

@ -15,7 +15,7 @@ class StatefulTextField extends StatefulWidget {
final String hintText;
final double width;
final double elevation;
final TextEditingController controller;
final TextEditingController controller;
@override
State<StatefulTextField> createState() => _StatefulTextFieldState();
@ -26,7 +26,7 @@ class _StatefulTextFieldState extends State<StatefulTextField> {
Widget build(BuildContext context) {
return CustomTextField(
title: widget.title,
controller: widget.controller,
controller: widget.controller,
hintText: widget.hintText,
width: widget.width,
elevation: widget.elevation,
@ -69,6 +69,7 @@ class CustomTextField extends StatelessWidget {
borderRadius: BorderRadius.circular(8),
child: Container(
width: width,
height: 45,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(8),

View File

@ -14,9 +14,11 @@ class DeviceManagementPage extends StatelessWidget with HelperResponsiveLayout {
return BlocProvider(
create: (context) => DeviceManagementBloc()..add(FetchDevices()),
child: WebScaffold(
appBarTitle: Text(
'Device Management',
style: Theme.of(context).textTheme.headlineLarge,
appBarTitle: FittedBox(
child: Text(
'Device Management',
style: Theme.of(context).textTheme.headlineLarge,
),
),
appBarBody: const [
NavigateHomeGridView(),

View File

@ -76,7 +76,7 @@ class DeviceManagementBody extends StatelessWidget with HelperResponsiveLayout {
const SizedBox(height: 12),
Container(
height: 43,
width: isSmallScreenSize(context) ? double.infinity : 100,
width: 100,
decoration: containerDecoration,
child: Center(
child: DefaultButton(