mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 03:45:12 +00:00
chore: Update to flutter 3.3.0
This commit is contained in:
parent
4490c598ff
commit
977b0c19c6
6 changed files with 4 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
variables:
|
||||
FLUTTER_VERSION: 3.0.5
|
||||
FLUTTER_VERSION: 3.3.0
|
||||
|
||||
image: cirrusci/flutter:${FLUTTER_VERSION}
|
||||
|
||||
|
|
|
@ -335,7 +335,7 @@ class BootstrapDialogState extends State<BootstrapDialog> {
|
|||
const SizedBox(height: 16),
|
||||
ElevatedButton.icon(
|
||||
style: ElevatedButton.styleFrom(
|
||||
onPrimary: Colors.red,
|
||||
foregroundColor: Colors.red,
|
||||
),
|
||||
icon: const Icon(Icons.delete_outlined),
|
||||
label: Text(L10n.of(context)!.recoveryKeyLost),
|
||||
|
|
|
@ -265,7 +265,7 @@ class _ButtonContent extends StatelessWidget {
|
|||
icon: icon,
|
||||
label: Text(label, overflow: TextOverflow.ellipsis),
|
||||
style: OutlinedButton.styleFrom(
|
||||
primary: textColor,
|
||||
foregroundColor: textColor,
|
||||
backgroundColor: Colors.white.withAlpha(64),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -130,7 +130,7 @@ class LoginView extends StatelessWidget {
|
|||
child: ElevatedButton(
|
||||
onPressed:
|
||||
controller.loading ? () {} : controller.passwordForgotten,
|
||||
style: ElevatedButton.styleFrom(onPrimary: Colors.red),
|
||||
style: ElevatedButton.styleFrom(foregroundColor: Colors.red),
|
||||
child: Text(L10n.of(context)!.passwordForgotten),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter/foundation.dart' hide Key;
|
||||
import 'package:flutter/services.dart';
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter/foundation.dart' hide Key;
|
||||
import 'package:flutter/services.dart';
|
||||
|
|
Loading…
Reference in a new issue