Professional Documents
Culture Documents
dart';
main(){
runApp(exemple());
}
@override
State<exemple> createState() => _exempleState();
}
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: 'Email',
),
),
),
Padding(
padding: const EdgeInsets.all(10.0),
child: TextField(
obscureText: true,
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: 'Password',
),
),
),
TextButton(
style: TextButton.styleFrom( backgroundColor: Colors.blue[900],
padding: EdgeInsets.all(16.0), textStyle:
TextStyle(fontSize: 20, ),
),
onPressed: () {},
child: Text('Valider'),
)
],
),
),
);
}
}