mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-16 10:46:00 -07:00
chore: Updated flutter to 3.29.2 + bugfixes (#296)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
671bb88b13
commit
d47f1e19da
18 changed files with 79 additions and 130 deletions
|
|
@ -184,17 +184,7 @@ class _PhotoViewerControllsState extends ConsumerState<PhotoViewerControls> with
|
|||
child: Text(
|
||||
widget.photo.name,
|
||||
maxLines: 2,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.titleMedium
|
||||
?.copyWith(fontWeight: FontWeight.bold, shadows: [
|
||||
BoxShadow(
|
||||
blurRadius: 1, spreadRadius: 1, color: Colors.black.withValues(alpha: 0.7)),
|
||||
BoxShadow(
|
||||
blurRadius: 4, spreadRadius: 4, color: Colors.black.withValues(alpha: 0.4)),
|
||||
BoxShadow(
|
||||
blurRadius: 20, spreadRadius: 6, color: Colors.black.withValues(alpha: 0.2)),
|
||||
]),
|
||||
style: Theme.of(context).textTheme.titleMedium?.copyWith(fontWeight: FontWeight.bold),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ class _PhotoViewerScreenState extends ConsumerState<PhotoViewerScreen> with Widg
|
|||
? IconsaxOutline.filter_remove
|
||||
: IconsaxOutline.filter,
|
||||
),
|
||||
].addInBetween(const SizedBox(width: 18)),
|
||||
].addInBetween(const SizedBox(width: 16)),
|
||||
);
|
||||
}),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -122,10 +122,7 @@ class _SimpleVideoPlayerState extends ConsumerState<SimpleVideoPlayer> with Wind
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final textStyle = Theme.of(context)
|
||||
.textTheme
|
||||
.titleMedium
|
||||
?.copyWith(fontWeight: FontWeight.bold, shadows: [const Shadow(blurRadius: 2)]);
|
||||
final textStyle = Theme.of(context).textTheme.titleMedium?.copyWith(fontWeight: FontWeight.bold);
|
||||
ref.listen(
|
||||
photoViewSettingsProvider.select((value) => value.repeat),
|
||||
(previous, next) => player.loop(next),
|
||||
|
|
@ -226,10 +223,6 @@ class _SimpleVideoPlayerState extends ConsumerState<SimpleVideoPlayer> with Wind
|
|||
},
|
||||
icon: Icon(
|
||||
player.lastState.playing ? IconsaxBold.pause_circle : IconsaxBold.play_circle,
|
||||
shadows: [
|
||||
BoxShadow(
|
||||
blurRadius: 16, spreadRadius: 2, color: Colors.black.withValues(alpha: 0.15))
|
||||
],
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue