darkModeTilesContainerBuilder top-level property
Applies inversion color matrix on Tiles container which may simulate Dark mode.
Implementation
final TilesContainerBuilder darkModeTilesContainerBuilder =
(BuildContext context, Widget tilesContainer, List<Tile> tiles) {
return ColorFiltered(
colorFilter: const ColorFilter.matrix(<double>[
-1,
0,
0,
0,
255,
0,
-1,
0,
0,
255,
0,
0,
-1,
0,
255,
0,
0,
0,
1,
0,
]),
child: tilesContainer,
);
};