mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
merge: fix merge changes
This commit is contained in:
@ -72,7 +72,6 @@ class CollectionPane extends ConsumerWidget {
|
||||
),
|
||||
kVSpacer10,
|
||||
Container(
|
||||
height: 30,
|
||||
margin: const EdgeInsets.only(right: 8),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: kBorderRadius8,
|
||||
|
@ -54,7 +54,7 @@ class _RequestPaneState extends State<RequestPane>
|
||||
child: SizedBox(
|
||||
height: kHeaderHeight,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
FilledButton.tonalIcon(
|
||||
onPressed: widget.onPressedCodeButton,
|
||||
|
@ -135,40 +135,6 @@ class ResponsePaneHeader extends StatelessWidget {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
kIsMobile
|
||||
? Text(
|
||||
"$responseStatus",
|
||||
style: TextStyle(
|
||||
color: getResponseStatusCodeColor(
|
||||
responseStatus,
|
||||
brightness: Theme.of(context).brightness,
|
||||
),
|
||||
fontFamily: kCodeStyle.fontFamily,
|
||||
),
|
||||
)
|
||||
: Text.rich(
|
||||
TextSpan(
|
||||
children: [
|
||||
const TextSpan(
|
||||
text: "Response (",
|
||||
),
|
||||
TextSpan(
|
||||
text: "$responseStatus",
|
||||
style: TextStyle(
|
||||
color: getResponseStatusCodeColor(
|
||||
responseStatus,
|
||||
brightness: Theme.of(context).brightness,
|
||||
),
|
||||
fontFamily: kCodeStyle.fontFamily,
|
||||
),
|
||||
),
|
||||
const TextSpan(
|
||||
text: ")",
|
||||
),
|
||||
],
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
kHSpacer10,
|
||||
Expanded(
|
||||
child: Text(
|
||||
|
@ -132,6 +132,9 @@ class RawTextField extends StatelessWidget {
|
||||
border: InputBorder.none,
|
||||
hintText: hintText,
|
||||
),
|
||||
onTapOutside: (PointerDownEvent event) {
|
||||
FocusManager.instance.primaryFocus?.unfocus();
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user