Finish to add configuration tutorial
This commit is contained in:
parent
a3b25c3ee1
commit
4e8fd12fdc
9 changed files with 236 additions and 39 deletions
|
@ -2,7 +2,9 @@ import 'package:desktopapp/widgets/components/link.dart';
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
class Step1 extends StatelessWidget {
|
||||
const Step1({Key? key}) : super(key: key);
|
||||
const Step1({Key? key, required this.onNext}) : super(key: key);
|
||||
|
||||
final VoidCallback onNext;
|
||||
|
||||
Widget buildFieldDescription(String field, String description) {
|
||||
return Row(
|
||||
|
@ -60,7 +62,7 @@ class Step1 extends StatelessWidget {
|
|||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
TextButton(onPressed: () {}, child: const Text('Étape suivante'))
|
||||
TextButton(onPressed: onNext, child: const Text('Étape suivante'))
|
||||
],
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue