"<p>In this video we are going to work on a new task in our Flutter To Do Application.<br /> The task is : Routing & Navigation Setup</p> <pre> <code>import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:todo/view/AddTasksView.dart'; import 'package:todo/view/ListTasksView.dart'; import 'provider/TaskModel.dart'; void main() { runApp( MultiProvider( providers: [ ChangeNotifierProvider(create: (context) => TaskModel()), ], child: const MyApp(), ), ); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), routes: { "listTasks":(context)=> ListTasksView(), "addTask":(context)=> AddTasksView(), }, home: ListTasksView() ); } }</code> </pre> <p>Now we need to add a button to navigate between interfaces via the FloatingActionButton Widget :</p> <pre> <code> floatingActionButton: FloatingActionButton( child: Icon(Icons.add), onPressed: () { Navigator.pushNamed(context, 'addTask'); }, ),</code></pre>"