update theme
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user