mirror of https://github.com/CympleTech/ESSE.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
import 'package:flutter/material.dart'; |
|
|
|
import 'package:esse/utils/adaptive.dart'; |
|
import 'package:esse/l10n/localizations.dart'; |
|
|
|
class GroupAddPage extends StatelessWidget { |
|
const GroupAddPage({Key key}) : super(key: key); |
|
|
|
@override |
|
Widget build(BuildContext context) { |
|
final isDesktop = isDisplayDesktop(context); |
|
final color = Theme.of(context).colorScheme; |
|
final lang = AppLocalizations.of(context); |
|
|
|
return Scaffold( |
|
body: SafeArea( |
|
child: Padding( |
|
padding: const EdgeInsets.all(10.0), |
|
child: Column(children: <Widget>[ |
|
Row( |
|
children: [ |
|
if (!isDesktop) |
|
GestureDetector( |
|
onTap: () => Navigator.pop(context), |
|
child: Container(width: 20.0, child: Icon(Icons.arrow_back, color: color.primary)), |
|
), |
|
const SizedBox(width: 15.0), |
|
Expanded(child: Text(lang.addGroup, style: TextStyle(fontWeight: FontWeight.bold, fontSize: 20.0))), |
|
], |
|
), |
|
Expanded( |
|
child: Center( |
|
child: Text(lang.wip, style: TextStyle(fontSize: 32.0)) |
|
) |
|
) |
|
] |
|
) |
|
) |
|
) |
|
); |
|
} |
|
}
|
|
|