mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 01:18:57 +03:30
46 lines
1.2 KiB
Dart
46 lines
1.2 KiB
Dart
import 'package:cssd/config/routes.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
|
|
|
class CycleResultBanner extends StatelessWidget {
|
|
const CycleResultBanner({
|
|
Key key,
|
|
@required double deviceBlockSize,
|
|
}) : _deviceBlockSize = deviceBlockSize,
|
|
super(key: key);
|
|
|
|
final double _deviceBlockSize;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
// crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: <Widget>[
|
|
Text(
|
|
'CYCLES',
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 7 * _deviceBlockSize,
|
|
fontWeight: FontWeight.w700,
|
|
letterSpacing: 2,
|
|
),
|
|
),
|
|
Spacer(),
|
|
InkWell(
|
|
customBorder: CircleBorder(),
|
|
onTap: () {
|
|
Navigator.of(context).popAndPushNamed(Routes.cycleFilterScreen);
|
|
},
|
|
child: Container(
|
|
padding: EdgeInsets.all(5),
|
|
child: Icon(
|
|
FontAwesomeIcons.filter,
|
|
size: 7 * _deviceBlockSize,
|
|
),
|
|
),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|