How rewrite bootstrap colors

I need to redefine a color palette of the theme.
What is the best practice to do that, I want void broken your design. Please, share the screenshot.

Approach HTML Template

All Replies

import 'package:flutter/material.dart';
import 'package:organic_food_app/constants/constants.dart';
import 'package:organic_food_app/screens/sign_in/sign_in_screen.dart';
void main() {
class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Organic Food App',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
        scaffoldBackgroundColor: white
      home: SignInScreen(),

1 답변 보임 - 1 에서 1까지 (총 1중에서)

  • You must be logged in to reply to this topic.