mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 23:18:55 +03:30
58 lines
1.7 KiB
Dart
Executable File
58 lines
1.7 KiB
Dart
Executable File
// import 'package:flutter/material.dart';
|
|
|
|
// import '../../../config/routes.dart';
|
|
|
|
// class TestResultAddSaveButton extends StatelessWidget {
|
|
// const TestResultAddSaveButton({
|
|
// Key? key,
|
|
// // @required GlobalKey<FormState> form,
|
|
// // @required this.idCTRL,
|
|
// required double deviceBlockSize,
|
|
// }) :
|
|
// // _form = form,
|
|
// _deviceBlockSize = deviceBlockSize,
|
|
// super(key: key);
|
|
|
|
// // final GlobalKey<FormState> _form;
|
|
// // final TextEditingController idCTRL;
|
|
// final double _deviceBlockSize;
|
|
|
|
// @override
|
|
// Widget build(BuildContext context) {
|
|
// return InkWell(
|
|
// onTap: () {
|
|
// // if (! _form.currentState.validate()) {
|
|
// // return;
|
|
// // }
|
|
// Navigator.of(context).pushNamed(
|
|
// Routes.labelDetailScreen,
|
|
// // arguments: idCTRL.text,
|
|
// );
|
|
// },
|
|
// child: Container(
|
|
// padding: EdgeInsets.symmetric(
|
|
// horizontal: 5 * _deviceBlockSize,
|
|
// vertical: 10,
|
|
// ),
|
|
// margin: EdgeInsets.symmetric(horizontal: 20),
|
|
// decoration: BoxDecoration(
|
|
// gradient: LinearGradient(
|
|
// colors: [Colors.blue, Colors.green],
|
|
// ),
|
|
// borderRadius: BorderRadius.circular(7),
|
|
// ),
|
|
// child: Align(
|
|
// alignment: Alignment.center,
|
|
// child: Text(
|
|
// 'GO!',
|
|
// style: TextStyle(
|
|
// color: Colors.white,
|
|
// fontSize: 5 * _deviceBlockSize,
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// );
|
|
// }
|
|
// }
|