mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-14 11:39:17 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
27
lib/src/widget/os/border.dart
Normal file
27
lib/src/widget/os/border.dart
Normal file
@@ -0,0 +1,27 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:reboot_common/common.dart';
|
||||
import 'package:system_theme/system_theme.dart';
|
||||
|
||||
class WindowBorder extends StatelessWidget {
|
||||
const WindowBorder({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return IgnorePointer(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
top: 1
|
||||
),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
border: Border.all(
|
||||
color: SystemTheme.accentColor.accent,
|
||||
width: appBarWidth.toDouble()
|
||||
)
|
||||
)
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user