mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
feat: UI 2.0 and other Improvements (#357)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
9ca06eaa37
commit
e7b5bb40ff
169 changed files with 4584 additions and 3626 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:fladder/util/list_padding.dart';
|
||||
|
||||
class ActionContent extends StatelessWidget {
|
||||
final Widget? title;
|
||||
final Widget child;
|
||||
|
|
@ -23,6 +21,7 @@ class ActionContent extends StatelessWidget {
|
|||
padding: padding ?? MediaQuery.paddingOf(context).add(const EdgeInsets.symmetric(horizontal: 16)),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
spacing: 16,
|
||||
children: [
|
||||
if (title != null) ...[
|
||||
title!,
|
||||
|
|
@ -42,7 +41,7 @@ class ActionContent extends StatelessWidget {
|
|||
children: actions,
|
||||
)
|
||||
],
|
||||
].addInBetween(const SizedBox(height: 16)),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue