import 'package:flutter/material.dart'; const colorBackgroundBlack = Color.fromRGBO(32, 33, 37, 1); const colorMainWhite = Color.fromRGBO(255, 255, 255, 1); const colorMainGrey = Color(0xFF333333); const colorMainRed = Color.fromRGBO(204, 0, 0, 1); const colorDarkRed = Color.fromRGBO(153, 0, 0, 1); const colorMainBlue = Color(0xFF1f74ad); enum Format { mp3(format: 'MP3'), mp3HD(format: 'MP3 HD'), mp4(format: 'MP4'), mp4HD( ytCmd: "bestvideo[height=1080][ext=mp4][vcodec~='^(avc|h264)']+bestaudio[ext=m4a]/bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best", format: 'MP4 HD'), mp42K( ytCmd: "bestvideo[height=1440][ext=mp4]+bestaudio[ext=m4a]/bestvideo[height<=1080][ext=mp4][vcodec~='^(avc|h264)']+bestaudio[ext=m4a]/bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best", format: 'MP4 2K'), tGP(format: '3GP'), flv(format: 'FLV'), m4a; final String ytCmd; final String format; const Format({ this.ytCmd = '"18/22/bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best"', this.format = 'MP4', }); }