1 | initial version |
To modify the AppBar of a Thingsboard Flutter app, follow these steps:
import 'package:flutter/material.dart';
class MyPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('My Title'),
backgroundColor: Colors.blue,
actions: <Widget>[
IconButton(
icon: Icon(Icons.more_vert),
onPressed: () {},
),
],
),
body: Container(),
);
}
}