pubspec.yaml

ΠšΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΠΎΠ½Π½Ρ‹ΠΉ Ρ„Π°ΠΉΠ» ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π° (ΠΊΠ°ΠΊ package.json Π² Node.js ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°Ρ…). Π‘ΠΎΠ΄Π΅Ρ€ΠΆΠΈΡ‚ ΠΌΠ΅Ρ‚Π°Π΄Π°Π½Π½Ρ‹Π΅ ΠΏΠΎ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Ρƒ ΠΈ/ΠΈΠ»ΠΈ ΠΏΠ°ΠΊΠ΅Ρ‚Ρƒ (всСгда Π΄ΠΎΠ»ΠΆΠ΅Π½ Π±Ρ‹Ρ‚ΡŒ). Π₯Ρ€Π°Π½ΠΈΡ‚ ΠΈΠ½Ρ„ΠΎΡ€ΠΌΠ°Ρ†ΠΈΡŽ ΠΏΠΎ зависимостям ΠΈ ΠΎΠ± Π°Π²Ρ‚ΠΎΡ€Π΅ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΡ‹

ΠŸΡ€ΠΈΠΌΠ΅Ρ€

name: mytestprogram
description: Something aboutt the program
version: 1.0.0
author: IkeMurami
homepage: https://example.com/

environment:
    ...
    
dependencies:
    ...
    
dev_dependencies:
    ...

ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡ΠΈΡ‚ΡŒ Material Design

This will allow you to use more features of Material, such as their set of predefined Icons.

flutter:
    uses-material-design: true

Π’ ΠΊΠΎΠ΄Π΅:

import 'package:flutter/material.dart';
// ...

Last updated