mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00

Loaders & error placeholders added PlayerOverlay swipe to open PlayerView fix: Logout functionality broken
31 lines
786 B
Dart
31 lines
786 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
class NotFound extends StatelessWidget {
|
|
const NotFound({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
children: [
|
|
SizedBox(
|
|
height: 150,
|
|
width: 150,
|
|
child: Image.asset("assets/empty_box.png"),
|
|
),
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Text("Nothing found", style: Theme.of(context).textTheme.headline6),
|
|
Text(
|
|
"The box is empty",
|
|
style: Theme.of(context).textTheme.subtitle1,
|
|
),
|
|
],
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|