update theme

This commit is contained in:
2020-05-29 15:53:37 +06:30
parent bad27ba5c4
commit a08e73e537
10 changed files with 226 additions and 76 deletions

View File

@@ -94,6 +94,7 @@ class _ProfileState extends State<Profile> {
],
),
));
final phonenumberbox = Container(
height: 45.0,
child: Row(
@@ -319,6 +320,14 @@ class _ProfileState extends State<Profile> {
languageBox,
logoutbutton,
Divider(color: secondaryColor),
Switch(
value: false,
onChanged: (value) {
setState(() {});
},
// activeTrackColor: Colors.lightGreenAccent,
// activeColor: Colors.green,
),
versionbox,
SizedBox(
height: 20,
@@ -332,7 +341,7 @@ class _ProfileState extends State<Profile> {
Widget getPrivilegeBox(BuildContext context) {
var languageModel = Provider.of<LanguageModel>(context);
var userModel = Provider.of<UserModel>(context);
return ListTileTheme(
contentPadding: EdgeInsets.all(0),
child: ExpansionTile(