mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 15:39:41 +00:00
push bug fixes
This commit is contained in:
@ -196,6 +196,7 @@ class _DynamicTableState extends State<DynamicTable> {
|
|||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
color: Color(0xFF999999),
|
color: Color(0xFF999999),
|
||||||
),
|
),
|
||||||
|
maxLines: 2,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -254,6 +255,7 @@ class _DynamicTableState extends State<DynamicTable> {
|
|||||||
: statusColor,
|
: statusColor,
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
fontWeight: FontWeight.w400),
|
fontWeight: FontWeight.w400),
|
||||||
|
maxLines: 2,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -15,7 +15,7 @@ class StatefulTextField extends StatefulWidget {
|
|||||||
final String hintText;
|
final String hintText;
|
||||||
final double width;
|
final double width;
|
||||||
final double elevation;
|
final double elevation;
|
||||||
final TextEditingController controller;
|
final TextEditingController controller;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<StatefulTextField> createState() => _StatefulTextFieldState();
|
State<StatefulTextField> createState() => _StatefulTextFieldState();
|
||||||
@ -26,7 +26,7 @@ class _StatefulTextFieldState extends State<StatefulTextField> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return CustomTextField(
|
return CustomTextField(
|
||||||
title: widget.title,
|
title: widget.title,
|
||||||
controller: widget.controller,
|
controller: widget.controller,
|
||||||
hintText: widget.hintText,
|
hintText: widget.hintText,
|
||||||
width: widget.width,
|
width: widget.width,
|
||||||
elevation: widget.elevation,
|
elevation: widget.elevation,
|
||||||
@ -69,6 +69,7 @@ class CustomTextField extends StatelessWidget {
|
|||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
child: Container(
|
child: Container(
|
||||||
width: width,
|
width: width,
|
||||||
|
height: 45,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
|
@ -14,9 +14,11 @@ class DeviceManagementPage extends StatelessWidget with HelperResponsiveLayout {
|
|||||||
return BlocProvider(
|
return BlocProvider(
|
||||||
create: (context) => DeviceManagementBloc()..add(FetchDevices()),
|
create: (context) => DeviceManagementBloc()..add(FetchDevices()),
|
||||||
child: WebScaffold(
|
child: WebScaffold(
|
||||||
appBarTitle: Text(
|
appBarTitle: FittedBox(
|
||||||
'Device Management',
|
child: Text(
|
||||||
style: Theme.of(context).textTheme.headlineLarge,
|
'Device Management',
|
||||||
|
style: Theme.of(context).textTheme.headlineLarge,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
appBarBody: const [
|
appBarBody: const [
|
||||||
NavigateHomeGridView(),
|
NavigateHomeGridView(),
|
||||||
|
@ -76,7 +76,7 @@ class DeviceManagementBody extends StatelessWidget with HelperResponsiveLayout {
|
|||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
Container(
|
Container(
|
||||||
height: 43,
|
height: 43,
|
||||||
width: isSmallScreenSize(context) ? double.infinity : 100,
|
width: 100,
|
||||||
decoration: containerDecoration,
|
decoration: containerDecoration,
|
||||||
child: Center(
|
child: Center(
|
||||||
child: DefaultButton(
|
child: DefaultButton(
|
||||||
|
Reference in New Issue
Block a user