Skip to content

Commit

Permalink
fix assets again
Browse files Browse the repository at this point in the history
  • Loading branch information
ulusoyca committed Nov 17, 2024
1 parent e70cb7f commit 408c8fa
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AddWaterScreenBody extends StatelessWidget {
children: [
const Image(
image: AssetImage(
'assets/images/add_water_description.png',
'images/add_water_description.png',
package: 'assets',
),
fit: BoxFit.cover,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AddWaterStepOrderNotFound extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Image(
image: AssetImage('assets/images/order_not_found.webp',
image: AssetImage('images/order_not_found.webp',
package: 'assets'),
fit: BoxFit.cover,
height: 200,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class LoginScreenContent extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
const Image(
image: AssetImage('assets/images/dash_coffee.webp',
package: 'assets'),
image: AssetImage('images/dash_coffee.webp',
package: 'assets',),
fit: BoxFit.cover,
height: 216,
width: 384,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ We're excited to assist you with the orders. To ensure you get the most out of o
'''),
),
heroImage: const Image(
image: AssetImage('assets/images/welcome_modal.webp',
package: 'assets'),
image: AssetImage('images/welcome_modal.webp',
package: 'assets',),
fit: BoxFit.cover,
),
pageTitle: const Padding(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const String _imagePath = 'assets/images/coffee_maker_state';
const String _imagePath = 'images/coffee_maker_state';

enum CoffeeMakerStep {
grind(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class OrderNotFoundModal extends WoltModalSheetPage {
),
),
heroImage: const Image(
image: AssetImage('assets/images/order_not_found.webp',
image: AssetImage('images/order_not_found.webp',
package: 'assets'),
fit: BoxFit.cover,
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const String _assetPath = 'assets/images/';
const String _assetPath = 'images/';

enum ExtraRecommendation {
bananaBread(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ServeOrOfferModalPage extends WoltModalSheetPage {
}) : super(
heroImage: const Image(
image: AssetImage(
'assets/images/coffee_is_ready.png',
'images/coffee_is_ready.png',
package: 'assets',
),
fit: BoxFit.cover,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class _TutorialsScreenState extends State<TutorialsScreen> {
height: 200,
width: double.infinity,
image: AssetImage(
'assets/images/welcome_modal.webp',
'images/welcome_modal.webp',
package: 'assets',
),
fit: BoxFit.cover,
Expand Down

0 comments on commit 408c8fa

Please sign in to comment.