fix(ui_kit): add local font assets + compress images
Before Width: | Height: | Size: 3.3 KiB |
BIN
packages/wyatt_ui_kit/example/assets/images/asset_1.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
packages/wyatt_ui_kit/example/assets/images/mockup_1.png
Normal file
After Width: | Height: | Size: 191 KiB |
BIN
packages/wyatt_ui_kit/example/assets/images/mockup_2.png
Normal file
After Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 756 KiB |
@ -46,7 +46,7 @@ class InformationCards extends StatelessWidget {
|
||||
child: Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage('assets/asset_1.png'),
|
||||
image: AssetImage('assets/images/asset_1.png'),
|
||||
fit: BoxFit.fitHeight,
|
||||
alignment: Alignment.centerRight,
|
||||
),
|
||||
@ -112,7 +112,7 @@ class InformationCards extends StatelessWidget {
|
||||
child: Container(
|
||||
decoration: const BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage('assets/asset_1.png'),
|
||||
image: AssetImage('assets/images/asset_1.png'),
|
||||
fit: BoxFit.fitHeight,
|
||||
alignment: Alignment.centerRight,
|
||||
),
|
||||
|
@ -39,7 +39,7 @@ class PortfolioCards extends StatelessWidget {
|
||||
],
|
||||
assets: [
|
||||
Image.asset(
|
||||
'assets/mockup_1.png',
|
||||
'assets/images/mockup_1.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
)
|
||||
@ -72,7 +72,7 @@ class PortfolioCards extends StatelessWidget {
|
||||
],
|
||||
assets: [
|
||||
Image.asset(
|
||||
'assets/mockup_1.png',
|
||||
'assets/images/mockup_1.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
)
|
||||
@ -105,12 +105,12 @@ class PortfolioCards extends StatelessWidget {
|
||||
],
|
||||
assets: [
|
||||
Image.asset(
|
||||
'assets/mockup_1.png',
|
||||
'assets/images/mockup_1.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
Image.asset(
|
||||
'assets/mockup_1.png',
|
||||
'assets/images/mockup_1.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
)
|
||||
@ -148,17 +148,17 @@ class PortfolioCards extends StatelessWidget {
|
||||
],
|
||||
assets: [
|
||||
Image.asset(
|
||||
'assets/mockup_1.png',
|
||||
'assets/images/mockup_1.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
Image.asset(
|
||||
'assets/mockup_2.png',
|
||||
'assets/images/mockup_2.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
Image.asset(
|
||||
'assets/mockup_1.png',
|
||||
'assets/images/mockup_1.png',
|
||||
alignment: Alignment.topCenter,
|
||||
fit: BoxFit.cover,
|
||||
)
|
||||
|
@ -36,4 +36,5 @@ flutter:
|
||||
uses-material-design: true
|
||||
|
||||
assets:
|
||||
- ./assets/
|
||||
- ./assets/images/
|
||||
- ./assets/fonts/montserrat/
|
||||
|