Created App Surfaces for Theming
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import '../models/profile.dart';
|
||||
import '../providers/profile_provider.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import '../theme/app_surfaces.dart';
|
||||
|
||||
class TaskAssignmentSection extends ConsumerWidget {
|
||||
const TaskAssignmentSection({
|
||||
@@ -141,6 +142,7 @@ class TaskAssignmentSection extends ConsumerWidget {
|
||||
context: context,
|
||||
builder: (dialogContext) {
|
||||
return AlertDialog(
|
||||
shape: AppSurfaces.of(context).dialogShape,
|
||||
title: const Text('Assign IT Staff'),
|
||||
content: const Text('No vacant IT staff available.'),
|
||||
actions: [
|
||||
@@ -162,6 +164,7 @@ class TaskAssignmentSection extends ConsumerWidget {
|
||||
return StatefulBuilder(
|
||||
builder: (context, setState) {
|
||||
return AlertDialog(
|
||||
shape: AppSurfaces.of(context).dialogShape,
|
||||
title: const Text('Assign IT Staff'),
|
||||
contentPadding: const EdgeInsets.fromLTRB(24, 20, 24, 12),
|
||||
content: SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user