style: remove unnecessary whitespace in about page
This commit is contained in:
parent
051ce4680a
commit
a418844534
@ -90,9 +90,7 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 32),
|
const SizedBox(height: 32),
|
||||||
|
|
||||||
// App Description
|
// App Description
|
||||||
const _SectionHeader(title: 'About This App'),
|
const _SectionHeader(title: 'About This App'),
|
||||||
const _ContentCard(
|
const _ContentCard(
|
||||||
@ -105,9 +103,7 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
style: TextStyle(color: Colors.white, height: 1.5),
|
style: TextStyle(color: Colors.white, height: 1.5),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 24),
|
const SizedBox(height: 24),
|
||||||
|
|
||||||
// Features
|
// Features
|
||||||
const _SectionHeader(title: 'Key Features'),
|
const _SectionHeader(title: 'Key Features'),
|
||||||
const _ContentCard(
|
const _ContentCard(
|
||||||
@ -140,9 +136,7 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 24),
|
const SizedBox(height: 24),
|
||||||
|
|
||||||
// Support & Privacy
|
// Support & Privacy
|
||||||
const _SectionHeader(title: 'Support & Privacy'),
|
const _SectionHeader(title: 'Support & Privacy'),
|
||||||
_ContentCard(
|
_ContentCard(
|
||||||
@ -168,9 +162,7 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 24),
|
const SizedBox(height: 24),
|
||||||
|
|
||||||
// Credits
|
// Credits
|
||||||
const _SectionHeader(title: 'Credits'),
|
const _SectionHeader(title: 'Credits'),
|
||||||
const _ContentCard(
|
const _ContentCard(
|
||||||
@ -198,7 +190,6 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 40),
|
const SizedBox(height: 40),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -209,7 +200,7 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
|
|
||||||
class _SectionHeader extends StatelessWidget {
|
class _SectionHeader extends StatelessWidget {
|
||||||
final String title;
|
final String title;
|
||||||
|
|
||||||
const _SectionHeader({Key? key, required this.title}) : super(key: key);
|
const _SectionHeader({Key? key, required this.title}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@ -230,7 +221,7 @@ class _SectionHeader extends StatelessWidget {
|
|||||||
|
|
||||||
class _ContentCard extends StatelessWidget {
|
class _ContentCard extends StatelessWidget {
|
||||||
final Widget child;
|
final Widget child;
|
||||||
|
|
||||||
const _ContentCard({Key? key, required this.child}) : super(key: key);
|
const _ContentCard({Key? key, required this.child}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@ -251,7 +242,7 @@ class _FeatureItem extends StatelessWidget {
|
|||||||
final IconData icon;
|
final IconData icon;
|
||||||
final String title;
|
final String title;
|
||||||
final String description;
|
final String description;
|
||||||
|
|
||||||
const _FeatureItem({
|
const _FeatureItem({
|
||||||
Key? key,
|
Key? key,
|
||||||
required this.icon,
|
required this.icon,
|
||||||
@ -294,7 +285,7 @@ class _LinkButton extends StatelessWidget {
|
|||||||
final IconData icon;
|
final IconData icon;
|
||||||
final String text;
|
final String text;
|
||||||
final VoidCallback onTap;
|
final VoidCallback onTap;
|
||||||
|
|
||||||
const _LinkButton({
|
const _LinkButton({
|
||||||
Key? key,
|
Key? key,
|
||||||
required this.icon,
|
required this.icon,
|
||||||
|
Loading…
Reference in New Issue
Block a user