chore: Remove gradient and add login wallpaper
parent
6cdb76bca1
commit
462e5381e9
Binary file not shown.
After Width: | Height: | Size: 211 KiB |
@ -1,27 +0,0 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class BackgroundGradientBox extends StatelessWidget {
|
||||
final Widget child;
|
||||
const BackgroundGradientBox({
|
||||
Key key,
|
||||
this.child,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: Alignment.topRight,
|
||||
end: Alignment.bottomLeft,
|
||||
colors: [
|
||||
Theme.of(context).scaffoldBackgroundColor,
|
||||
Theme.of(context).secondaryHeaderColor.withAlpha(150),
|
||||
Theme.of(context).secondaryHeaderColor,
|
||||
],
|
||||
),
|
||||
),
|
||||
child: child,
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue