Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

Commit

Permalink
Added on press to icon
Browse files Browse the repository at this point in the history
+added on press to icon in weekplan selector
  • Loading branch information
AquaHippo committed Nov 14, 2023
1 parent 0b15fa7 commit b277159
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions lib/screens/weekplan_selector_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,16 @@ class _WeekplanSelectorScreenState extends State<WeekplanSelectorScreen> {
: const EdgeInsets.fromLTRB(0, 0, 0,0),
child: Container(
child: Column(children: <Widget>[
const Align(
Align(
alignment: Alignment.topRight,
child: Icon(
Icons.create_outlined,
child: IconButton(
key: Key('EditWeekplanSelctor'),
padding: EdgeInsets.all(0.0),
color: Colors.black,
size: 50.0,
icon: Icon(Icons.create_outlined, size: 50),
onPressed: () {
_pushEditWeekPlan(context);
},
),
),
Expanded(
Expand Down Expand Up @@ -139,7 +143,7 @@ class _WeekplanSelectorScreenState extends State<WeekplanSelectorScreen> {
key: const Key('ShowOldWeeks'),
padding: const EdgeInsets.all(0.0),
alignment: Alignment.centerRight,
color: Colors.black,
color: Colors.white,
icon: const Icon(Icons.add, size: 50),
onPressed: () {
_toggleOldWeeks();
Expand Down

0 comments on commit b277159

Please sign in to comment.