forked from firka/student-legacy
added "send message" button to messages screen
This commit is contained in:
parent
27fefb4c27
commit
5a371d7200
@ -13,6 +13,7 @@ import 'package:filcnaplo_mobile_ui/common/profile_image/profile_image.dart';
|
|||||||
import 'package:filcnaplo/ui/filter/sort.dart';
|
import 'package:filcnaplo/ui/filter/sort.dart';
|
||||||
import 'package:filcnaplo_mobile_ui/common/widgets/message/message_viewable.dart';
|
import 'package:filcnaplo_mobile_ui/common/widgets/message/message_viewable.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'messages_page.i18n.dart';
|
import 'messages_page.i18n.dart';
|
||||||
|
|
||||||
@ -61,6 +62,32 @@ class _MessagesPageState extends State<MessagesPage>
|
|||||||
centerTitle: false,
|
centerTitle: false,
|
||||||
surfaceTintColor: Theme.of(context).scaffoldBackgroundColor,
|
surfaceTintColor: Theme.of(context).scaffoldBackgroundColor,
|
||||||
actions: [
|
actions: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 8.0, vertical: 5.0),
|
||||||
|
child: IconButton(
|
||||||
|
splashRadius: 24.0,
|
||||||
|
onPressed: () {
|
||||||
|
// Navigator.of(context, rootNavigator: true)
|
||||||
|
// .push(PageRouteBuilder(
|
||||||
|
// pageBuilder: (context, animation, secondaryAnimation) =>
|
||||||
|
// PremiumFSTimetable(
|
||||||
|
// controller: controller,
|
||||||
|
// ),
|
||||||
|
// ))
|
||||||
|
// .then((_) {
|
||||||
|
// SystemChrome.setPreferredOrientations(
|
||||||
|
// [DeviceOrientation.portraitUp]);
|
||||||
|
// setSystemChrome(context);
|
||||||
|
// });
|
||||||
|
},
|
||||||
|
icon: Icon(
|
||||||
|
FeatherIcons.send,
|
||||||
|
color: AppColors.of(context).text,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
|
||||||
// Profile Icon
|
// Profile Icon
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(right: 24.0),
|
padding: const EdgeInsets.only(right: 24.0),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user