refactor(ui): rework text gradient and text wrapper
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user