mirror of
https://github.com/inventree/inventree-app.git
synced 2026-07-05 04:13:59 +00:00
Use new icon file in app
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "package:adaptive_theme/adaptive_theme.dart";
|
||||
import "package:flutter/material.dart";
|
||||
import "package:flutter_svg/flutter_svg.dart";
|
||||
import "package:flutter_tabler_icons/flutter_tabler_icons.dart";
|
||||
import "package:package_info_plus/package_info_plus.dart";
|
||||
|
||||
@@ -220,7 +221,7 @@ class _InvenTreeDrawerState extends State<InvenTreeDrawer> {
|
||||
|
||||
tiles.add(
|
||||
ListTile(
|
||||
leading: Image.asset("assets/image/logo_transparent.png", height: 24),
|
||||
leading: SvgPicture.asset("assets/image/inventree.svg", height: 24),
|
||||
title: Text(
|
||||
L10().appTitle,
|
||||
style: TextStyle(fontWeight: FontWeight.bold),
|
||||
|
||||
@@ -2,6 +2,7 @@ import "dart:async";
|
||||
import "dart:math";
|
||||
|
||||
import "package:flutter/material.dart";
|
||||
import "package:flutter_svg/flutter_svg.dart";
|
||||
import "package:flutter_tabler_icons/flutter_tabler_icons.dart";
|
||||
|
||||
import "package:inventree/api.dart";
|
||||
@@ -480,11 +481,13 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage>
|
||||
child: Column(
|
||||
children: [
|
||||
Spacer(),
|
||||
Image.asset(
|
||||
"assets/image/logo_transparent.png",
|
||||
color: Colors.white.withValues(alpha: 0.05),
|
||||
colorBlendMode: BlendMode.modulate,
|
||||
scale: 0.5,
|
||||
SvgPicture.asset(
|
||||
"assets/image/inventree.svg",
|
||||
colorFilter: ColorFilter.mode(
|
||||
Colors.white.withValues(alpha: 0.05),
|
||||
BlendMode.modulate,
|
||||
),
|
||||
width: 200,
|
||||
),
|
||||
Spacer(),
|
||||
ListTile(
|
||||
@@ -540,7 +543,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage>
|
||||
title: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset("assets/image/logo_transparent.png", height: 24),
|
||||
SvgPicture.asset("assets/image/inventree.svg", height: 24),
|
||||
SizedBox(width: 8),
|
||||
Text(L10().appTitle),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user