Finish to add configuration tutorial
This commit is contained in:
parent
a3b25c3ee1
commit
4e8fd12fdc
9 changed files with 236 additions and 39 deletions
|
@ -4,7 +4,11 @@ import 'package:flutter/material.dart';
|
|||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
class Step2 extends StatelessWidget {
|
||||
Step2({Key? key}) : super(key: key);
|
||||
Step2({Key? key, required this.onPrevious, required this.onNext})
|
||||
: super(key: key);
|
||||
|
||||
final VoidCallback onPrevious;
|
||||
final VoidCallback onNext;
|
||||
|
||||
final TextEditingController _clientIdController = TextEditingController();
|
||||
final TextEditingController _clientSecretController = TextEditingController();
|
||||
|
@ -86,8 +90,8 @@ class Step2 extends StatelessWidget {
|
|||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
TextButton(
|
||||
onPressed: () {}, child: const Text('Étape précédente')),
|
||||
TextButton(onPressed: () {}, child: const Text('Étape suivante'))
|
||||
onPressed: onPrevious, child: const Text('Étape précédente')),
|
||||
TextButton(onPressed: onNext, child: const Text('Étape suivante'))
|
||||
],
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue