mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
28 lines
625 B
Dart
28 lines
625 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class NoteEditor extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
var bodyWidget = new Container(
|
|
child: new TextField(
|
|
autofocus: true,
|
|
keyboardType: TextInputType.multiline,
|
|
maxLines: 5000,
|
|
decoration: new InputDecoration(
|
|
hintText: 'Write here',
|
|
),
|
|
),
|
|
padding: const EdgeInsets.all(8.0),
|
|
);
|
|
|
|
var newJournalScreen = new Scaffold(
|
|
appBar: new AppBar(
|
|
title: new Text("May 15, 17:35"),
|
|
),
|
|
body: bodyWidget,
|
|
);
|
|
|
|
return newJournalScreen;
|
|
}
|
|
}
|