refactor(ui): rework text gradient and text wrapper

This commit is contained in:
2023-02-17 14:47:56 +01:00
parent c5f8b69184
commit ef52015372
27 changed files with 367 additions and 226 deletions
@@ -31,8 +31,14 @@ class FlatButtons extends StatelessWidget {
),
const Gap(20),
Center(
/// You can overwrite global textstyle of the label with [label],
/// but if you only want to override the color/gradient of the text
/// in a particular case you can override the style that will
/// be merge during the build.
child: FlatButton(
label: const TextWrapper('Voir notre savoir faire'),
label: const TextWrapper(
'Voir notre savoir faire',
),
),
),
const Gap(20),