feat(ui_kit): update example with full studio button theme

This commit is contained in:
2023-02-15 22:36:26 +01:00
parent a595183107
commit dd198b0e51
8 changed files with 317 additions and 45 deletions
@@ -221,7 +221,7 @@ class FileSelectionButtonScreen
children: [
if (leading != null) ...[
leading ?? const SizedBox.shrink(),
Gap(style.padding?.horizontal ?? 10),
Gap((style.padding?.horizontal ?? 10)/2),
],
Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
@@ -239,7 +239,6 @@ class FileSelectionButtonScreen
///
/// More infos in `negociate()` method
if (title != null) ...[
Gap(style.padding?.vertical ?? 10),
Text(
title!.text,
style: title!.style ?? style.title,
@@ -266,7 +265,7 @@ class FileSelectionButtonScreen
///
/// More infos in `negociate()` method
if (subTitle != null) ...[
Gap(style.padding?.vertical ?? 10),
const Gap(5),
Text(
subTitle!.text,
style: subTitle!.style ?? style.subTitle,