Location overview screen and model changes #3
@@ -3,6 +3,8 @@ import 'package:flutter/material.dart';
|
|||||||
class AppTheme {
|
class AppTheme {
|
||||||
AppTheme._();
|
AppTheme._();
|
||||||
|
|
||||||
|
static const double formColumnSpacing = 12.0;
|
||||||
|
|
||||||
static ThemeData get lightTheme => _baseTheme(
|
static ThemeData get lightTheme => _baseTheme(
|
||||||
colorScheme: ColorScheme.fromSeed(
|
colorScheme: ColorScheme.fromSeed(
|
||||||
seedColor: Colors.indigo,
|
seedColor: Colors.indigo,
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
import '../app_theme.dart';
|
||||||
import '../model/callback_models/create_task_request.dart';
|
import '../model/callback_models/create_task_request.dart';
|
||||||
import '../model/extensions/controller_context.dart';
|
import '../model/extensions/controller_context.dart';
|
||||||
import '../model/task.dart';
|
import '../model/task.dart';
|
||||||
@@ -80,7 +81,7 @@ class _TaskEditPageState extends State<TaskEditPage> {
|
|||||||
horizontal: MediaQuery.of(context).size.width * 0.05,
|
horizontal: MediaQuery.of(context).size.width * 0.05,
|
||||||
),
|
),
|
||||||
child: Column(
|
child: Column(
|
||||||
spacing: 12,
|
spacing: AppTheme.formColumnSpacing,
|
||||||
children: [
|
children: [
|
||||||
SizedBox(height: 6),
|
SizedBox(height: 6),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
|
|||||||
Reference in New Issue
Block a user