skip to Main Content

Change stepper's line color flutter

I want to change color of line in stepper, Look at the below picture my try here : Theme( data: ThemeData(canvasColor: whiteColor), child: Stepper( type: StepperType.horizontal, steps: getSteps(), currentStep: currentStep, elevation: 2, ), ), Please help to continue my code.

VIEW QUESTION

Adding map in Firestore? – Flutter

How can I append a new Map type in firestore? void addUser() async { final us = _firestore.collection("users").doc(_search.text); us.update({ "requests": ( {_auth.currentUser?.email: rep} ), }); } Am using this method but the requests field in my firestore overwrites the previous…

VIEW QUESTION

I'm making a note app and the NotesView clears all other notes and replaces it with my most recent note – Flutter

This is the NotesView: import 'package:app_two/lib/constants/routes.dart'; import 'package:app_two/lib/enums/menu_action.dart'; import 'package:app_two/lib/services/auth/auth_service.dart'; import 'package:app_two/lib/services/auth/crud/notes_service.dart'; import 'package:flutter/material.dart'; class NotesView extends StatefulWidget { const NotesView({super.key}); @override State<NotesView> createState() => _NotesViewState(); } class _NotesViewState extends State<NotesView> { late Future _myFuture; late final NotesService _notesService; String…

VIEW QUESTION
Back To Top
Search