Skip to content

Commit

Permalink
Color fixes in modalSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayak5002 committed Aug 23, 2022
1 parent bae6bed commit 6375451
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Widgets/ShowTile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class _ShowTileState extends State<ShowTile> {
itemCount: modalButtons.length,
itemBuilder: (context, index) {
return TextButton(
child: Text("Change to ${Provider.of<Data>(context).displayStatus(modalButtons[index])[0]}"),
child: Text("Change to ${Provider.of<Data>(context).displayStatus(modalButtons[index])[0]}", style: const TextStyle(color: Colors.redAccent),),
onPressed: () {
setState(() {
Provider.of<Data>(context, listen: false).setStatus(widget.show, modalButtons[index]);
Expand Down Expand Up @@ -114,10 +114,11 @@ class _ShowTileState extends State<ShowTile> {
showTicks: true,
showLabels: true,
enableTooltip: true,
activeColor: Colors.red,
inactiveColor: Colors.red[300],
onChanged: (dynamic newValue) {
setState((){
Provider.of<Data>(context, listen: false).updateEps(widget.show, newValue.toInt());
// widget.show.epsCompleted = newValue.toInt();
});
},
)
Expand All @@ -128,7 +129,7 @@ class _ShowTileState extends State<ShowTile> {
"Delete show",
style: TextStyle(
color: Colors.red,
fontSize: 15
fontSize: 20
),
),
onPressed: (){
Expand Down

0 comments on commit 6375451

Please sign in to comment.