From c53024af754635fb1a41694bcc93303e3fe5ebdc Mon Sep 17 00:00:00 2001 From: Ankit Mahato Date: Sun, 12 Mar 2023 03:29:59 +0530 Subject: [PATCH] Style correction of cells --- .../details_card/request_pane/request_headers.dart | 8 ++++++-- .../details_card/request_pane/request_pane.dart | 1 + .../details_card/request_pane/request_params.dart | 8 ++++++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/lib/screens/home_page/editor_pane/details_card/request_pane/request_headers.dart b/lib/screens/home_page/editor_pane/details_card/request_pane/request_headers.dart index e8939ba0..f0ad0419 100644 --- a/lib/screens/home_page/editor_pane/details_card/request_pane/request_headers.dart +++ b/lib/screens/home_page/editor_pane/details_card/request_pane/request_headers.dart @@ -30,7 +30,9 @@ class EditRequestHeadersState extends ConsumerState { return TextFormField( key: Key("$activeId-$idx-headers-k-$seed"), initialValue: rows[idx].k, - style: kCodeStyle, + style: kCodeStyle.copyWith( + color: Theme.of(context).colorScheme.onSurface, + ), decoration: InputDecoration( hintStyle: kCodeStyle.copyWith( color: Theme.of(context).colorScheme.outline.withOpacity( @@ -63,7 +65,9 @@ class EditRequestHeadersState extends ConsumerState { return TextFormField( key: Key("$activeId-$idx-headers-v-$seed"), initialValue: rows[idx].v, - style: kCodeStyle, + style: kCodeStyle.copyWith( + color: Theme.of(context).colorScheme.onSurface, + ), decoration: InputDecoration( hintStyle: kCodeStyle.copyWith( color: Theme.of(context).colorScheme.outline.withOpacity( diff --git a/lib/screens/home_page/editor_pane/details_card/request_pane/request_pane.dart b/lib/screens/home_page/editor_pane/details_card/request_pane/request_pane.dart index 9ef2908a..a0110bbc 100644 --- a/lib/screens/home_page/editor_pane/details_card/request_pane/request_pane.dart +++ b/lib/screens/home_page/editor_pane/details_card/request_pane/request_pane.dart @@ -82,6 +82,7 @@ class _EditRequestPaneState extends ConsumerState ), ], ), + kVSpacer5, Expanded( child: TabBarView( controller: _controller, diff --git a/lib/screens/home_page/editor_pane/details_card/request_pane/request_params.dart b/lib/screens/home_page/editor_pane/details_card/request_pane/request_params.dart index 7669ced1..73ed8a92 100644 --- a/lib/screens/home_page/editor_pane/details_card/request_pane/request_params.dart +++ b/lib/screens/home_page/editor_pane/details_card/request_pane/request_params.dart @@ -31,7 +31,9 @@ class EditRequestURLParamsState extends ConsumerState { return TextFormField( key: Key("$activeId-$idx-params-k-$seed"), initialValue: rows[idx].k, - style: kCodeStyle, + style: kCodeStyle.copyWith( + color: Theme.of(context).colorScheme.onSurface, + ), decoration: InputDecoration( hintStyle: kCodeStyle.copyWith( color: Theme.of(context).colorScheme.outline.withOpacity( @@ -64,7 +66,9 @@ class EditRequestURLParamsState extends ConsumerState { return TextFormField( key: Key("$activeId-$idx-params-v-$seed"), initialValue: rows[idx].v, - style: kCodeStyle, + style: kCodeStyle.copyWith( + color: Theme.of(context).colorScheme.onSurface, + ), decoration: InputDecoration( hintStyle: kCodeStyle.copyWith( color: Theme.of(context).colorScheme.outline.withOpacity(