This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_string_encryption/flutter_string_encryption.dart' | |
show PlatformStringCryptor; | |
class StringCrypt { | |
StringCrypt({ | |
String key, | |
String password, | |
String salt, | |
}) { | |
_crypto = PlatformStringCryptor(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart' show mustCallSuper, VoidCallback; | |
import 'package:package_info/package_info.dart' show PackageInfo; | |
import './string_encryption.dart' show StringCrypt; | |
import 'package:firebase_remote_config/firebase_remote_config.dart' as r; | |
export 'package:firebase_remote_config/firebase_remote_config.dart' | |
show LastFetchStatus, RemoteConfigSettings, RemoteConfigValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:english_words/english_words.dart'; | |
class Model{ | |
List<String> getData() { | |
Iterable<WordPair> wordPair = generateWordPairs().take(10); | |
List<String> data = List(); | |
wordPair.forEach((pair) { | |
data.add(pair.asPascalCase); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart' show Icon, State; | |
import 'package:flutter/material.dart' show Colors, Icons; | |
import 'package:english_words/english_words.dart' as w; | |
class WordPair { | |
WordPair(this.state); | |
final State state; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart' show Icon, State; | |
import 'package:flutter/material.dart' show Colors, Icons; | |
import '../../model/home/model.dart'; | |
class Controller { | |
Controller(this.state){ | |
model = Model(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart' | |
show | |
AppBar, | |
BuildContext, | |
Divider, | |
EdgeInsets, | |
ListTile, | |
ListView, | |
Scaffold, | |
State, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart' | |
show | |
Brightness, | |
BuildContext, | |
Column, | |
CrossAxisAlignment, | |
CupertinoColors, | |
CupertinoPageScaffold, | |
CupertinoSliverNavigationBar, | |
CustomScrollView, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart' show Key, State, StatefulWidget; | |
//import 'package:flutter/material.dart' show Key, State, StatefulWidget; | |
import '../../../src/controller/MyApp.dart' show MyApp; | |
import 'android/home.dart' show RandomWordsAndroid; | |
import 'ios/home.dart' show RandomWordsApple; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:io' show Platform; | |
import 'package:flutter/foundation.dart' show kIsWeb; | |
import 'package:flutter/cupertino.dart' | |
show BuildContext, CupertinoApp, Key, StatelessWidget, Widget; | |
import 'package:flutter/material.dart' show MaterialApp; | |
import '../view/home/home.dart' show RandomWords; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart' show runApp; | |
//import 'package:flutter/material.dart' show runApp; | |
import 'src/controller/MyApp.dart' show MyApp; | |
void main() => runApp(MyApp( | |
// switchUI: true, | |
)); |