Skip to content

Commit

Permalink
fix(battery_widget.dart): Add text battery level
Browse files Browse the repository at this point in the history
  • Loading branch information
rlperez committed Dec 21, 2021
1 parent 805dac2 commit 33c87d5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/traits/battery_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ class BatteryWidget extends StatelessWidget {
color: Colors.white,
),
),
)
),
SizedBox(
height: 10,
),
Text(
"Battery Level: ${_batteryLevelTraitProvider.getBatteryLevel}",
style: TextStyle(fontSize: 22, fontStyle: FontStyle.normal),
),
]);
}
}
Expand Down

0 comments on commit 33c87d5

Please sign in to comment.