v1 release
This commit is contained in:
commit
cb24b68069
116 changed files with 4913 additions and 0 deletions
23
lib/presentation/widgets/secondary_button.dart
Normal file
23
lib/presentation/widgets/secondary_button.dart
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import "package:flutter/material.dart";
|
||||
|
||||
class SecondaryButton extends StatelessWidget {
|
||||
final String text;
|
||||
final void Function() onPressed;
|
||||
|
||||
const SecondaryButton({
|
||||
super.key,
|
||||
required this.text,
|
||||
required this.onPressed,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SizedBox(
|
||||
width: MediaQuery.of(context).size.width * 0.7,
|
||||
child: TextButton(
|
||||
onPressed: onPressed,
|
||||
child: Text(text),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue