mirror of
https://github.com/foss42/apidash.git
synced 2025-06-05 01:46:21 +08:00
padding changes
This commit is contained in:
@ -24,7 +24,7 @@ class _CollectionPaneState extends ConsumerState<CollectionPane> {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(8),
|
padding: p8,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
@ -98,7 +98,7 @@ class _RequestListState extends ConsumerState<RequestList> {
|
|||||||
key: Key(requestItems[index].id),
|
key: Key(requestItems[index].id),
|
||||||
index: index,
|
index: index,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(1),
|
padding: p1,
|
||||||
child: RequestItem(
|
child: RequestItem(
|
||||||
id: requestItems[index].id,
|
id: requestItems[index].id,
|
||||||
requestModel: requestItems[index],
|
requestModel: requestItems[index],
|
||||||
|
@ -3,6 +3,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|||||||
import '../providers/providers.dart';
|
import '../providers/providers.dart';
|
||||||
import 'editor_pane/url_card.dart';
|
import 'editor_pane/url_card.dart';
|
||||||
import 'editor_pane/details_card.dart';
|
import 'editor_pane/details_card.dart';
|
||||||
|
import 'styles.dart';
|
||||||
|
|
||||||
class RequestEditorPane extends ConsumerStatefulWidget {
|
class RequestEditorPane extends ConsumerStatefulWidget {
|
||||||
const RequestEditorPane({
|
const RequestEditorPane({
|
||||||
@ -26,7 +27,7 @@ class _RequestEditorPaneState extends ConsumerState<RequestEditorPane> {
|
|||||||
return const RequestEditorPaneHome();
|
return const RequestEditorPaneHome();
|
||||||
} else {
|
} else {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(8),
|
padding: p8,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: const [
|
children: const [
|
||||||
EditorPaneRequestURLCard(),
|
EditorPaneRequestURLCard(),
|
||||||
|
@ -23,5 +23,8 @@ const tableContainerDecoration = BoxDecoration(
|
|||||||
borderRadius: border12,
|
borderRadius: border12,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const p1 = EdgeInsets.all(1);
|
||||||
const p5 = EdgeInsets.all(5);
|
const p5 = EdgeInsets.all(5);
|
||||||
|
const p8 = EdgeInsets.all(8);
|
||||||
|
const ps8 = EdgeInsets.only(left: 8);
|
||||||
const p10 = EdgeInsets.all(10);
|
const p10 = EdgeInsets.all(10);
|
||||||
|
Reference in New Issue
Block a user