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