@@ -24,9 +24,9 @@ public override State createState() {
24
24
}
25
25
26
26
protected override Widget createWidget ( ) {
27
- return new WidgetsApp (
28
- home : new EditableInputTypeWidget ( ) ,
29
- pageRouteBuilder : this . pageRouteBuilder ) ;
27
+ return new MaterialApp (
28
+ home : new EditableInputTypeWidget ( )
29
+ ) ;
30
30
}
31
31
32
32
@@ -143,7 +143,7 @@ Widget rowWidgets(string title, Widget widget) {
143
143
height : 80 ,
144
144
child : new Row (
145
145
children : new List < Widget > {
146
- new Container ( width : 100 , child : new Text ( title ) ) ,
146
+ new Container ( width : 100 , child : new Text ( title , style : new TextStyle ( fontSize : 14 , height : 2.0f , color : Colors . black , decoration : TextDecoration . none ) ) ) ,
147
147
new Flexible ( child : new Container ( child : widget , padding : EdgeInsets . all ( 4 ) , decoration :
148
148
new BoxDecoration ( border : Border . all ( color : Color . black ) ) ) )
149
149
}
@@ -210,11 +210,11 @@ List<Widget> buildInputs(bool unityKeyboard) {
210
210
public override Widget build ( BuildContext context ) {
211
211
List < Widget > widgets = new List < Widget > ( ) ;
212
212
213
- widgets . Add ( new Text ( "UIWidgets Touch Keyboard" , style : new TextStyle ( fontSize : 20 , height : 2.0f ) ,
213
+ widgets . Add ( new Text ( "UIWidgets Touch Keyboard" , style : new TextStyle ( fontSize : 20 , height : 2.0f , color : Colors . black , decoration : TextDecoration . none ) ,
214
214
textAlign : TextAlign . center ) ) ;
215
215
widgets . AddRange ( this . buildInputs ( false ) ) ;
216
216
217
- widgets . Add ( new Text ( "Unity Touch Keyboard" , style : new TextStyle ( fontSize : 20 , height : 2.0f ) ,
217
+ widgets . Add ( new Text ( "Unity Touch Keyboard" , style : new TextStyle ( fontSize : 20 , height : 2.0f , color : Colors . black , decoration : TextDecoration . none ) ,
218
218
textAlign : TextAlign . center ) ) ;
219
219
widgets . AddRange ( this . buildInputs ( true ) ) ;
220
220
0 commit comments