add splash to config

master
fuwa 5 years ago
parent 68a4dc5052
commit 026262ed32

@ -25,4 +25,5 @@ final config = CryptoConfig
(
'wownerod',
'wownerod',
'Follow the white rabbit.',
);

@ -22,9 +22,11 @@ along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
class CryptoConfig {
final String outputBin;
final String appPath;
final String splash;
CryptoConfig
(
this.outputBin,
this.appPath,
this.splash,
);
}

@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage>
}
Future<void> buildStateMachine(BlankState _blankState) async {
const loadingText = "Follow the white rabbit.";
final loadingText = config.splash;
LoadingState _loadingState = await _blankState.next(loadingText);
final binName = config.outputBin;

Loading…
Cancel
Save