chore: syntax errors

This commit is contained in:
Kingkor Roy Tirtho 2025-09-05 23:39:07 +06:00
parent 0d6d482630
commit db22b4fcce
5 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ class Sidebar extends HookConsumerWidget {
color: Colors.black, color: Colors.black,
borderRadius: BorderRadius.circular(50), borderRadius: BorderRadius.circular(50),
), ),
child: Assets.branding.spotubeLogo.image( child: Assets.branding.spotubeLogoPng.image(
height: 50, height: 50,
cacheHeight: (100 * MediaQuery.devicePixelRatioOf(context)).toInt(), cacheHeight: (100 * MediaQuery.devicePixelRatioOf(context)).toInt(),
), ),

View File

@ -17,7 +17,7 @@ class GettingStartedPageGreetingSection extends HookConsumerWidget {
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
Assets.branding.spotubeLogo.image(height: 200), Assets.branding.spotubeLogoPng.image(height: 200),
const Gap(24), const Gap(24),
const Text("Spotube").semiBold().h4(), const Text("Spotube").semiBold().h4(),
const Gap(4), const Gap(4),

View File

@ -45,7 +45,7 @@ class HomePage extends HookConsumerWidget {
floating: true, floating: true,
title: Image.asset( title: Image.asset(
theme.brightness == Brightness.dark theme.brightness == Brightness.dark
? Assets.branding.spotubeLogo.path ? Assets.branding.spotubeLogoPng.path
: Assets.branding.spotubeLogoLight.path, : Assets.branding.spotubeLogoLight.path,
height: 45, height: 45,
width: 45, width: 45,

View File

@ -45,7 +45,7 @@ class AboutSpotubePage extends HookConsumerWidget {
padding: const EdgeInsets.symmetric(horizontal: 16.0), padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Column( child: Column(
children: [ children: [
Assets.branding.spotubeLogo.image( Assets.branding.spotubeLogoPng.image(
height: 200, height: 200,
width: 200, width: 200,
), ),

View File

@ -348,7 +348,7 @@ class MetadataPluginNotifier extends AsyncNotifier<MetadataPluginState> {
entryPoint: plugin.entryPoint, entryPoint: plugin.entryPoint,
apis: plugin.apis.map((e) => e.name).toList(), apis: plugin.apis.map((e) => e.name).toList(),
abilities: plugin.abilities.map((e) => e.name).toList(), abilities: plugin.abilities.map((e) => e.name).toList(),
pluginApiVersion: plugin.pluginApiVersion, pluginApiVersion: Value(plugin.pluginApiVersion),
repository: Value(plugin.repository), repository: Value(plugin.repository),
), ),
); );