Created App Surfaces for Theming
This commit is contained in:
@@ -7,6 +7,7 @@ import '../../providers/teams_provider.dart';
|
||||
import '../../providers/profile_provider.dart';
|
||||
import 'package:supabase_flutter/supabase_flutter.dart';
|
||||
import 'package:tasq/screens/searchable_multi_select_dropdown.dart';
|
||||
import '../../theme/app_surfaces.dart';
|
||||
import '../../widgets/tasq_adaptive_list.dart';
|
||||
|
||||
final officesProvider = FutureProvider<List<Office>>((ref) async {
|
||||
@@ -150,6 +151,7 @@ class TeamsScreen extends ConsumerWidget {
|
||||
return StatefulBuilder(
|
||||
builder: (context, setState) {
|
||||
return AlertDialog(
|
||||
shape: AppSurfaces.of(context).dialogShape,
|
||||
title: Text(isEdit ? 'Edit Team' : 'Add Team'),
|
||||
content: SingleChildScrollView(
|
||||
child: Column(
|
||||
@@ -266,6 +268,7 @@ class TeamsScreen extends ConsumerWidget {
|
||||
final confirmed = await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
shape: AppSurfaces.of(context).dialogShape,
|
||||
title: const Text('Delete Team'),
|
||||
content: const Text('Are you sure you want to delete this team?'),
|
||||
actions: [
|
||||
|
||||
Reference in New Issue
Block a user