Aggiunte tooltip pulsanti
This commit is contained in:
+5
-1
@@ -51,12 +51,14 @@ class _AppManagerState extends State<AppManager> {
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: <Widget>[
|
||||
IconButton(
|
||||
tooltip: MyLocalizations.of(context).trans('riordina'),
|
||||
icon: Icon(Icons.reorder,color: Colors.white,),
|
||||
onPressed:(){
|
||||
_changeOrderDrawer(context, MyLocalizations.of(context).trans('mio_ordinamento'));
|
||||
}
|
||||
),
|
||||
IconButton(
|
||||
tooltip: MyLocalizations.of(context).trans('impostazioni'),
|
||||
icon:Icon(Icons.settings,color: Colors.white,),
|
||||
onPressed: (){
|
||||
Navigator.of(context).pop();
|
||||
@@ -83,12 +85,14 @@ class _AppManagerState extends State<AppManager> {
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: <Widget>[
|
||||
IconButton(
|
||||
tooltip: MyLocalizations.of(context).trans('riordina'),
|
||||
icon: Icon(Icons.reorder,color: Colors.white,),
|
||||
onPressed:(){
|
||||
_changeOrderDrawer(context, MyLocalizations.of(context).trans('mio_ordinamento'));
|
||||
}
|
||||
),
|
||||
IconButton(
|
||||
tooltip: MyLocalizations.of(context).trans('impostazioni'),
|
||||
icon:Icon(Icons.settings,color: Colors.white,),
|
||||
onPressed: (){
|
||||
Navigator.of(context).pop();
|
||||
@@ -197,7 +201,7 @@ class _AppManagerState extends State<AppManager> {
|
||||
initializeTiles();
|
||||
|
||||
return Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
resizeToAvoidBottomInset: true,
|
||||
drawer: new Drawer(
|
||||
child: ListView(
|
||||
padding: EdgeInsets.zero,
|
||||
|
||||
@@ -279,12 +279,16 @@ class _ConversionManager extends State<ConversionManager>{
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: <Widget>[
|
||||
new Builder(builder: (context) {
|
||||
return IconButton(icon: Icon(Icons.menu,color: Colors.white,), onPressed: () {
|
||||
return IconButton(
|
||||
tooltip: MyLocalizations.of(context).trans('menu'),
|
||||
icon: Icon(Icons.menu,color: Colors.white,),
|
||||
onPressed: () {
|
||||
widget.openDrawer();
|
||||
});
|
||||
}),
|
||||
Row(children: <Widget>[
|
||||
IconButton(
|
||||
tooltip: MyLocalizations.of(context).trans('elimina_tutto'),
|
||||
icon: Icon(Icons.clear,color: Colors.white),
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
@@ -292,7 +296,8 @@ class _ConversionManager extends State<ConversionManager>{
|
||||
});
|
||||
},),
|
||||
IconButton(
|
||||
icon: Icon(Icons.search,color: Colors.white, semanticLabel: "Search",),
|
||||
tooltip: MyLocalizations.of(context).trans('cerca'),
|
||||
icon: Icon(Icons.search,color: Colors.white,),
|
||||
onPressed: () async {
|
||||
final int paginaReindirizzamento=await showSearch(context: context,delegate: _searchDelegate);
|
||||
if(paginaReindirizzamento!=null)
|
||||
@@ -319,6 +324,7 @@ class _ConversionManager extends State<ConversionManager>{
|
||||
),
|
||||
|
||||
floatingActionButton: FloatingActionButton(
|
||||
tooltip: MyLocalizations.of(context).trans('calcolatrice'),
|
||||
child: Image.asset("resources/images/calculator.png",width: 30.0,),
|
||||
onPressed: (){
|
||||
showModalBottomSheet<void>(context: context,
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
"valuta_app3": "Great! Please take a moment to rate the app! ☺️",
|
||||
"valuta_app4": "😟 We'd love feedback so we can improve",
|
||||
"valuta_app5": "Rate",
|
||||
"cerca": "Search",
|
||||
"elimina_tutto": "Clear all",
|
||||
"calcolatrice": "Calculator",
|
||||
|
||||
"lunghezza": "Length",
|
||||
"superficie": "Area",
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
"valuta_app3": "Fantastico! Lasciaci una recensione ☺️",
|
||||
"valuta_app4": "😟 Ci piacerebbe che tu ci lasciassi una recensione, così possiamo migliorare",
|
||||
"valuta_app5": "Valuta",
|
||||
"cerca": "Cerca",
|
||||
"elimina_tutto": "Elimina tutto",
|
||||
"calcolatrice": "Calcolatrice",
|
||||
|
||||
"lunghezza": "Lunghezza",
|
||||
"superficie": "Superficie",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:converter_pro/main.dart';
|
||||
import 'package:converternow/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
||||
|
||||
Reference in New Issue
Block a user