remelem mukszik
This commit is contained in:
18
filcnaplo_mobile_ui/lib/common/widgets/note/note_viewable.dart
Executable file
18
filcnaplo_mobile_ui/lib/common/widgets/note/note_viewable.dart
Executable file
@@ -0,0 +1,18 @@
|
||||
import 'package:filcnaplo_kreta_api/models/note.dart';
|
||||
import 'package:filcnaplo_mobile_ui/common/widgets/note/note_tile.dart';
|
||||
import 'package:filcnaplo_mobile_ui/common/widgets/note/note_view.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class NoteViewable extends StatelessWidget {
|
||||
const NoteViewable(this.note, {Key? key}) : super(key: key);
|
||||
|
||||
final Note note;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return NoteTile(
|
||||
note,
|
||||
onTap: () => NoteView.show(note, context: context),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user