blank property
final
A blank view.
Implementation
static final blank = DashboardView(
name: Routes.blank,
iconFunc: () => const Icon(Icons.delete),
builder: (context, index) => ColoredBox(
color: context.colorScheme.brightness == Brightness.light
? Colors.blueGrey
: Colors.blueGrey[700]!,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// Convoluted way to get all horizontal space filled
Row(children: [const Spacer(), ViewsSelector(index: index)]),
const Spacer(),
const Text("Drag in or choose a view"),
const Spacer(),
],
),
),
);