mirror of
https://github.com/foss42/apidash.git
synced 2025-10-17 19:52:17 +08:00
Updated Home Page
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:apidash/widgets/widgets.dart';
|
||||
import 'package:apidash/consts.dart';
|
||||
|
||||
class IntroPage extends StatefulWidget {
|
||||
const IntroPage({super.key});
|
||||
@ -11,6 +12,9 @@ class IntroPage extends StatefulWidget {
|
||||
class _IntroPageState extends State<IntroPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const IntroMessage();
|
||||
return const Padding(
|
||||
padding: kPh60v40,
|
||||
child: IntroMessage(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -23,10 +23,6 @@ class _CustomMarkdownState extends State<CustomMarkdown> {
|
||||
);
|
||||
return Markdown(
|
||||
styleSheet: mdStyleSheet,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 40,
|
||||
horizontal: 60,
|
||||
),
|
||||
data: widget.data,
|
||||
selectable: true,
|
||||
extensionSet: md.ExtensionSet.gitHubFlavored,
|
||||
|
Reference in New Issue
Block a user