improve text style
This commit is contained in:
parent
4f241d597c
commit
56ad4faa46
|
@ -128,17 +128,19 @@ class _BoguiState extends ConsumerState<Bogui> {
|
||||||
maxLines: null,
|
maxLines: null,
|
||||||
keyboardType: TextInputType.multiline,
|
keyboardType: TextInputType.multiline,
|
||||||
cursorColor: orangeC,
|
cursorColor: orangeC,
|
||||||
style: TextStyle(color: Colors.grey[400], fontSize: 14),
|
style: const TextStyle(
|
||||||
|
color: Color.fromARGB(255, 200, 200, 200),
|
||||||
|
fontSize: 14),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
filled: true,
|
filled: true,
|
||||||
helperText:
|
helperText:
|
||||||
"Laissez-le autocompléter votre texte plutôt que de lui poser une question...",
|
"Laissez-le autocompléter votre texte plutôt que de lui poser une question...",
|
||||||
helperStyle: const TextStyle(fontSize: 10),
|
helperStyle: const TextStyle(fontSize: 10),
|
||||||
hintText: "Qu'ils aillent tous se faire recompiler",
|
hintText: "Qu'ils aillent tous se faire recompiler",
|
||||||
hintStyle: TextStyle(
|
hintStyle: const TextStyle(
|
||||||
color: Colors.grey[50],
|
color: Color.fromARGB(255, 190, 190, 170),
|
||||||
fontWeight: FontWeight.w100,
|
fontWeight: FontWeight.w100,
|
||||||
fontSize: 12),
|
fontSize: 14),
|
||||||
// fillColor: Colors.white,
|
// fillColor: Colors.white,
|
||||||
prefixIconConstraints: const BoxConstraints(
|
prefixIconConstraints: const BoxConstraints(
|
||||||
minHeight: 32,
|
minHeight: 32,
|
||||||
|
@ -169,8 +171,8 @@ class _BoguiState extends ConsumerState<Bogui> {
|
||||||
Opacity(
|
Opacity(
|
||||||
opacity: 0.8,
|
opacity: 0.8,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 250,
|
width: 200,
|
||||||
height: 50,
|
height: 45,
|
||||||
child: ElevatedButton(
|
child: ElevatedButton(
|
||||||
style: ElevatedButton.styleFrom(
|
style: ElevatedButton.styleFrom(
|
||||||
foregroundColor: Colors.white, elevation: 4,
|
foregroundColor: Colors.white, elevation: 4,
|
||||||
|
@ -194,7 +196,7 @@ class _BoguiState extends ConsumerState<Bogui> {
|
||||||
: const Text(
|
: const Text(
|
||||||
'Valider',
|
'Valider',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 21, fontWeight: FontWeight.w500),
|
fontSize: 19, fontWeight: FontWeight.w500),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -202,7 +204,7 @@ class _BoguiState extends ConsumerState<Bogui> {
|
||||||
const SizedBox(height: 5),
|
const SizedBox(height: 5),
|
||||||
const Text(
|
const Text(
|
||||||
'ctrl + entrer',
|
'ctrl + entrer',
|
||||||
style: TextStyle(fontSize: 12, fontWeight: FontWeight.w100),
|
style: TextStyle(fontSize: 11, fontWeight: FontWeight.w100),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 40),
|
const SizedBox(height: 40),
|
||||||
]),
|
]),
|
||||||
|
|
|
@ -25,9 +25,17 @@ class CustomSlider extends ConsumerWidget {
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(width: 5),
|
const SizedBox(width: 5),
|
||||||
Text(nameParameter),
|
Text(
|
||||||
|
nameParameter,
|
||||||
|
style: const TextStyle(
|
||||||
|
color: Color.fromARGB(255, 218, 218, 218)),
|
||||||
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Text(ref.watch(parameter).toString()),
|
Text(
|
||||||
|
ref.watch(parameter).toString(),
|
||||||
|
style: const TextStyle(
|
||||||
|
color: Color.fromARGB(255, 218, 218, 218)),
|
||||||
|
),
|
||||||
const SizedBox(width: 5),
|
const SizedBox(width: 5),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -44,7 +52,7 @@ class CustomSlider extends ConsumerWidget {
|
||||||
onChanged: (double value) {
|
onChanged: (double value) {
|
||||||
ref.read(parameter.notifier).state = truncateDouble(value, 1);
|
ref.read(parameter.notifier).state = truncateDouble(value, 1);
|
||||||
},
|
},
|
||||||
activeColor: Colors.grey[400],
|
activeColor: Color.fromARGB(255, 175, 175, 175),
|
||||||
inactiveColor: Colors.grey[700],
|
inactiveColor: Colors.grey[700],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue