|
@@ -51,24 +51,24 @@ class _HomePageState extends State<HomePage> {
|
|
|
flex: 1,
|
|
|
child: TextButton(
|
|
|
onPressed: _signIn,
|
|
|
- child: const Text("SIGN IN"),
|
|
|
style: ButtonStyle(
|
|
|
foregroundColor: MaterialStateProperty.all(Colors.white),
|
|
|
backgroundColor:
|
|
|
MaterialStateProperty.all(Colors.lightBlue),
|
|
|
),
|
|
|
+ child: const Text("SIGN IN"),
|
|
|
),
|
|
|
),
|
|
|
const SizedBox(width: 10),
|
|
|
Expanded(
|
|
|
child: TextButton(
|
|
|
onPressed: _signOut,
|
|
|
- child: const Text("SIGN OUT"),
|
|
|
style: ButtonStyle(
|
|
|
foregroundColor: MaterialStateProperty.all(Colors.white),
|
|
|
backgroundColor:
|
|
|
MaterialStateProperty.all(Colors.lightBlue),
|
|
|
),
|
|
|
+ child: const Text("SIGN OUT"),
|
|
|
),
|
|
|
),
|
|
|
],
|
|
@@ -89,11 +89,11 @@ class _HomePageState extends State<HomePage> {
|
|
|
const SizedBox(height: 10),
|
|
|
TextButton(
|
|
|
onPressed: _sendMessage,
|
|
|
- child: const Text("SEND TEXT"),
|
|
|
style: ButtonStyle(
|
|
|
foregroundColor: MaterialStateProperty.all(Colors.white),
|
|
|
backgroundColor: MaterialStateProperty.all(Colors.lightBlue),
|
|
|
),
|
|
|
+ child: const Text("SEND TEXT"),
|
|
|
),
|
|
|
Flexible(
|
|
|
child: ListView.builder(
|
|
@@ -231,7 +231,7 @@ class _HomePageState extends State<HomePage> {
|
|
|
}
|
|
|
|
|
|
void _addLogToConsole(String log) {
|
|
|
- _logText.add(_timeString + ": " + log);
|
|
|
+ _logText.add("$_timeString: $log");
|
|
|
setState(() {
|
|
|
scrollController.jumpTo(scrollController.position.maxScrollExtent);
|
|
|
});
|