start minimal

This commit is contained in:
Mohamed Nouffer
2023-06-02 10:50:56 +05:30
parent 08332d45d4
commit a358f65853
54 changed files with 467 additions and 1327 deletions

17
lib/theme/app_theme.dart Normal file
View File

@ -0,0 +1,17 @@
import 'package:flutter/material.dart';
import 'package:rogapp/theme/pallete.dart';
class AppTheme {
static ThemeData theme = ThemeData.light(useMaterial3: true).copyWith(
scaffoldBackgroundColor: Pallete.WHITE_COLOR,
primaryColor: Pallete.BLUE_COLOR,
secondaryHeaderColor: Pallete.GREEN_COLOR,
appBarTheme: const AppBarTheme(
color: Pallete.BACKGROUND_COLOR,
elevation: 0
),
floatingActionButtonTheme: const FloatingActionButtonThemeData(
backgroundColor: Pallete.BLUE_COLOR
),
);
}

10
lib/theme/pallete.dart Normal file
View File

@ -0,0 +1,10 @@
import 'package:flutter/material.dart';
class Pallete {
static const Color BACKGROUND_COLOR = Color.fromRGBO(191, 33, 46, 1);
static const Color SEARCHBAR_COLOR = Color.fromRGBO(191, 33, 120, 1);
static const Color BLUE_COLOR = Color.fromRGBO(36, 163, 191, 1);
static const Color GREEN_COLOR = Color.fromRGBO(31, 140, 58, 1);
static const Color BROWN_COLOR = Color.fromRGBO(191, 135, 31, 1);
static const Color WHITE_COLOR = Colors.white;
}

3
lib/theme/theme.dart Normal file
View File

@ -0,0 +1,3 @@
export 'pallete.dart';
export 'app_theme.dart';