Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-31 13:10:09 +08:00
parent dbc7bcd0dd
commit 8964197b73
68 changed files with 560 additions and 293 deletions

View File

@@ -26,14 +26,20 @@ class CreateVotePage extends StatefulWidget {
}
class _CreateVotePageState extends State<CreateVotePage> {
late final _controller = Get.put(
CreateVoteController(widget.voteId),
tag: Utils.generateRandomString(8),
);
late final CreateVoteController _controller;
late final imagePicker = ImagePicker();
late TextStyle _leadingStyle;
@override
void initState() {
super.initState();
_controller = Get.put(
CreateVoteController(widget.voteId),
tag: Utils.generateRandomString(8),
);
}
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);