Change dialog text
This commit is contained in:
parent
276e57617f
commit
12940beab7
@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:fnotes/theme_bloc.dart';
|
||||
import 'package:uuid/uuid.dart';
|
||||
|
||||
class Notes extends StatefulWidget {
|
||||
const Notes({
|
||||
@ -15,6 +16,8 @@ class _NotesState extends State<Notes> {
|
||||
List<String> notes = List.empty(growable: true);
|
||||
final phraseController = TextEditingController();
|
||||
|
||||
Map<Uuid, String> notesMap = {};
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
@ -85,7 +88,7 @@ class _NotesState extends State<Notes> {
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: const Text('Enter your list item here:'),
|
||||
title: const Text('New list item'),
|
||||
content: TextField(
|
||||
onSubmitted: (val) {
|
||||
Navigator.pop(context, val);
|
||||
|
Loading…
Reference in New Issue
Block a user