Skip to content

Commit

Permalink
Closes #291
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilaair committed May 16, 2023
1 parent 1c67677 commit 56503bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 9 additions & 6 deletions lib/src/modules/sandbox/sandbox.screen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:bitsdojo_window/bitsdojo_window.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
Expand Down Expand Up @@ -51,12 +52,14 @@ class SandboxScreen extends HookConsumerWidget {
),
centerTitle: true,
automaticallyImplyLeading: false,
flexibleSpace: Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: <Color>[Colors.red, Colors.blue],
flexibleSpace: MoveWindow(
child: Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: <Color>[Colors.red, Colors.blue],
),
),
),
),
Expand Down
2 changes: 2 additions & 0 deletions lib/src/modules/settings/settings.screen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:bitsdojo_window/bitsdojo_window.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
Expand Down Expand Up @@ -83,6 +84,7 @@ class SettingsScreen extends HookConsumerWidget {
CloseButton(),
SizedBox(width: 10),
],
flexibleSpace: MoveWindow(),
),
body: Row(
children: [
Expand Down

0 comments on commit 56503bf

Please sign in to comment.