forked from firka/student-legacy
fixed warnings
This commit is contained in:
parent
a7eda9faf9
commit
63c21c087f
@ -3,7 +3,6 @@ import 'package:filcnaplo/api/providers/user_provider.dart';
|
||||
import 'package:filcnaplo/models/settings.dart';
|
||||
import 'package:filcnaplo/models/shared_theme.dart';
|
||||
// import 'package:filcnaplo/models/shared_theme.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:uuid/uuid.dart';
|
||||
|
@ -1,3 +1,4 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SplittedMenuOption extends StatelessWidget {
|
||||
@ -23,7 +24,9 @@ class SplittedMenuOption extends StatelessWidget {
|
||||
child: InkWell(
|
||||
splashColor: Colors.grey,
|
||||
onLongPress: () {
|
||||
print('object');
|
||||
if (kDebugMode) {
|
||||
print('object');
|
||||
}
|
||||
},
|
||||
onTap: onTap,
|
||||
child: Padding(
|
||||
|
@ -10,12 +10,6 @@ class LoginButton extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialButton(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 6.0,
|
||||
),
|
||||
child: child,
|
||||
),
|
||||
elevation: 0,
|
||||
focusElevation: 0,
|
||||
hoverElevation: 0,
|
||||
@ -25,6 +19,12 @@ class LoginButton extends StatelessWidget {
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12.0)),
|
||||
color: AppColors.of(context).buttonBackground,
|
||||
textColor: Colors.white,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 6.0,
|
||||
),
|
||||
child: child,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
// import 'dart:async';
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:filcnaplo/api/client.dart';
|
||||
import 'package:filcnaplo/api/login.dart';
|
||||
|
@ -48,7 +48,7 @@ class MenuDesktopSettings extends StatelessWidget {
|
||||
}
|
||||
|
||||
class ModifyDesktopSettings extends StatefulWidget {
|
||||
const ModifyDesktopSettings({Key? key}) : super(key: key);
|
||||
const ModifyDesktopSettings({super.key});
|
||||
|
||||
@override
|
||||
State<ModifyDesktopSettings> createState() => _ModifyDesktopSettingsState();
|
||||
|
Loading…
x
Reference in New Issue
Block a user