feat(ui)!: rework theme resolver mechanism + move theme extension implementations
continuous-integration/drone/pr Build is failing
continuous-integration/drone/pr Build is failing
This commit is contained in:
@@ -17,8 +17,9 @@ class Bars extends DemoPage {
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Image.asset('assets/images/studio_logo.png'),
|
||||
),
|
||||
title: 'Wyatt Studio'.wrap(
|
||||
gradientColors: const MultiColor(
|
||||
title: const TextWrapper(
|
||||
'Wyatt Studio',
|
||||
gradientColors: MultiColor(
|
||||
[
|
||||
Color.fromRGBO(57, 167, 254, 1),
|
||||
Color.fromRGBO(71, 94, 241, 1),
|
||||
@@ -35,8 +36,9 @@ class Bars extends DemoPage {
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Image.asset('assets/images/studio_logo.png'),
|
||||
),
|
||||
title: 'Wyatt Studio'.wrap(
|
||||
gradientColors: const MultiColor(
|
||||
title: const TextWrapper(
|
||||
'Wyatt Studio',
|
||||
gradientColors: MultiColor(
|
||||
[
|
||||
Color.fromRGBO(57, 167, 254, 1),
|
||||
Color.fromRGBO(71, 94, 241, 1),
|
||||
@@ -67,21 +69,20 @@ class Bars extends DemoPage {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20),
|
||||
child: Image.asset('assets/images/studio_long_logo.png'),
|
||||
),
|
||||
actions: [
|
||||
actions: const [
|
||||
Padding(
|
||||
padding:
|
||||
const EdgeInsets.symmetric(horizontal: 20, vertical: 25),
|
||||
padding: EdgeInsets.symmetric(horizontal: 20, vertical: 25),
|
||||
child: FlatButton(
|
||||
label: 'Estimer mon projet'.wrap(),
|
||||
label: TextWrapper('Estimer mon projet'),
|
||||
),
|
||||
),
|
||||
],
|
||||
navigationItems: [
|
||||
'ACCEUIL'.wrap(),
|
||||
'VOTRE PROGRAMME'.wrap(),
|
||||
'LE STUDIO'.wrap(),
|
||||
'SAVOIR FAIRE'.wrap()
|
||||
].whereType<TextWrapper>().toList(),
|
||||
navigationItems: const [
|
||||
TextWrapper('ACCUEIL'),
|
||||
TextWrapper('VOTRE PROGRAMME'),
|
||||
TextWrapper('LE STUDIO'),
|
||||
TextWrapper('SAVOIR FAIRE')
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user