merge material 3

This commit is contained in:
tzw
2024-01-25 17:40:35 +06:30
parent 18053cbe3c
commit 991ecd7ae6
70 changed files with 572 additions and 1377 deletions

View File

@@ -1,4 +1,3 @@
import 'package:fcs/domain/vo/term.dart';
import 'package:fcs/helpers/theme.dart';
import 'package:fcs/pages/main/util.dart';
@@ -69,11 +68,7 @@ class _TermEditState extends State<TermEdit> {
color: primaryColor,
),
leading: IconButton(
icon: Icon(
CupertinoIcons.back,
color: primaryColor,
size: 30,
),
icon: Icon(CupertinoIcons.back, color: primaryColor, size: 25),
onPressed: () {
Navigator.of(context).pop();
},
@@ -85,7 +80,8 @@ class _TermEditState extends State<TermEdit> {
onPressed: _unfocus,
icon: Icon(Icons.check, color: primaryColor))
],
bottom: TabBar(
bottom: TabBar.secondary(
indicatorColor: primaryColor,
onTap: (index) {
if (index == 0) {
_focusNodeEng = new FocusNode();
@@ -119,12 +115,15 @@ class _TermEditState extends State<TermEdit> {
height: MediaQuery.of(context).size.height - 200,
child: TabBarView(
children: [
const SizedBox(),
const SizedBox(),
// textEditor(_controllerEng, _focusNodeEng),
// textEditor(_controllerMm, _focusNodeMm),
],
),
),
savebtn,
const SizedBox(height: 20)
],
),
),