feat: add dde data table.

This commit is contained in:
2021-10-05 00:05:17 +08:00
parent 07d510cfa6
commit 971d1c7951
5 changed files with 1483 additions and 6 deletions
+7
View File
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:dde_gesture_manager/constants/constants.dart';
var darkTheme = ThemeData.dark().copyWith(
primaryColor: Colors.grey,
@@ -7,6 +8,7 @@ var darkTheme = ThemeData.dark().copyWith(
iconTheme: IconThemeData(
color: Color(0xffc0c6d4),
),
dividerColor: Color(0xfff3f3f3),
textTheme: ThemeData.dark().textTheme.copyWith(
headline1: TextStyle(
color: Color(0xffc0c6d4),
@@ -15,4 +17,9 @@ var darkTheme = ThemeData.dark().copyWith(
color: Color(0xffc0c6d4),
),
),
popupMenuTheme: ThemeData.dark().popupMenuTheme.copyWith(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(defaultBorderRadius),
),
),
);
+7
View File
@@ -1,3 +1,4 @@
import 'package:dde_gesture_manager/constants/constants.dart';
import 'package:flutter/material.dart';
var lightTheme = ThemeData.light().copyWith(
@@ -7,6 +8,7 @@ var lightTheme = ThemeData.light().copyWith(
iconTheme: IconThemeData(
color: Color(0xff414d68),
),
dividerColor: Color(0xfff3f3f3),
textTheme: ThemeData.light().textTheme.copyWith(
headline1: TextStyle(
color: Color(0xff414d68),
@@ -15,4 +17,9 @@ var lightTheme = ThemeData.light().copyWith(
color: Color(0xff414d68),
),
),
popupMenuTheme: ThemeData.dark().popupMenuTheme.copyWith(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(defaultBorderRadius),
),
),
);