1
This commit is contained in:
39
lib/page/plan/detail/other/done_stamp.dart
Normal file
39
lib/page/plan/detail/other/done_stamp.dart
Normal file
@@ -0,0 +1,39 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class DoneStamp extends StatefulWidget {
|
||||
const DoneStamp({super.key});
|
||||
|
||||
@override
|
||||
State<DoneStamp> createState() => _DoneStampState();
|
||||
}
|
||||
|
||||
class _DoneStampState extends State<DoneStamp> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Align(
|
||||
alignment: Alignment(0.7, -0.3),
|
||||
child: Transform.rotate(
|
||||
angle: -0.4,
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(vertical: 3, horizontal: 5),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(5),
|
||||
border: Border.all(color: Colors.red, width: 5),
|
||||
),
|
||||
child: DefaultTextStyle(
|
||||
style: TextStyle(color: Colors.red),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(
|
||||
"Completed",
|
||||
style: TextStyle(fontWeight: FontWeight.w700),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user