I have flutter app and it was published and it has great response from user noe my client want to make website of that app but ui was totally different in web and app so I want to create proper architecture for my app so if may client want ti create desktop app also then I have to just add ui part so can anyone help me to create this flexible architecture of flutter
you can define the whole new ui and put it in condition
import 'package:flutter/foundation.dart' show kIsWeb;
if (kIsWeb) {
// running on the web!
} else {
// NOT running on the web! You can check for additional platforms here.
}
might this will help
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.