feat(ui): make gradient as component
continuous-integration/drone/pr Build is failing

This commit is contained in:
2023-04-26 18:15:47 +02:00
parent 3fb4020594
commit 0d5109fc77
13 changed files with 569 additions and 65 deletions
@@ -49,14 +49,14 @@ class Home extends StatelessWidget {
appBar: PreferredSize(
preferredSize: const Size.fromHeight(60),
child: context.components.appBar?.copyWith
.title('Example title'.wrap()) ??
.title(const TextWrapper('Example title')) ??
const SizedBox.shrink(),
),
body: Column(
children: [
Expanded(
child: context.components.errorWidget
?.copyWith(error: 'Example erreur'.wrap()) ??
?.copyWith(error: const TextWrapper('Example erreur')) ??
const SizedBox.shrink(),
),
const SizedBox(