ASK THE CAT
  • Ask
  • FAQ
  • R Winter Series
    • Create & Manipulate Matrices
    • Data Cleaning, Data Frames & Lists
    • Tidyverse
    • Creating Graphs with ggplot
  • AP CS A
    • Java July Series >
      • :: Classes & OOPs
      • :: Interface
      • :: Inheritance
      • :: Intro To Arrays Java
      • :: Arrays Continued
    • :: CS-A or CS-P?
    • :: Control Structures
    • :: Recursion
    • :: While Do While Loops in Java
    • :: Interface in Java
    • :: ArrayLists
    • :: Java Naming Conventions
    • :: Logic Circuits
    • :: Getters and Setters
    • :: Binary & Hexadecimal
  • Summer 2020 Tutoring
    • :: REPRESENT IT!
    • Pre-Algebra Sessions >
      • :: Basic Division
      • :: Complex Division
      • :: Estimation Division
      • :: Division Practice Problems
    • Algebra II >
      • :: Cubic Equations
      • :: Complex Numbers
    • Chemistry >
      • Molarity Basics
    • C++ Sessions >
      • :: Introduction
      • :: Style v Syntax
      • :: Variables & Data Types
      • :: Intialize/Declare Variables
      • :: Types of Operators
      • :: Strings and Input - Output
      • :: How to Construct Arrays
  • AP Bio
    • :: Sketch Notes >
      • :: Part 1
      • :: Part 2
    • :: epigenetics
    • :: Chi-Squared Tests
    • :: Cancer
    • :: Hox Genes
    • :: Hardy-Weinberg Principle
    • :: Rule of Multiplication + Addition for Punnett Squares
    • :: CRISPR
    • :: Amino Acid
    • :: Peptide
    • :: Why study Peptides
    • :: Aquaporins
    • :: Gram Stains
    • :: Graph on Excel for Bio Lab
  • AP Chem
    • Organic Chemistry
    • I. Properties of Matter >
      • Neutralization
    • II. Periodic table >
      • Org of Periodic Table
      • :: Groups
    • III. Chemical bonding >
      • :: Mass to Mass conversion
      • :: Naming Acids
      • :: Cross Drop Charge
      • :: Predicting Products
      • :: Balance Equation Question
      • :: Learn to Balance Equation
      • :: VSEPR Simulation
    • IV. Molar Mass >
      • ::LR ER and excess reatant
      • :: Molecular/Formula Mass
      • :: Empirical Formula & Molar Mass
      • :: Percentages & Empirical Formula
      • :: Empirical formula
    • IV. Solutions and Solubility >
      • :: Types of Solutions with Solubility Curves
      • :: Solubility Curve
    • V. Easy Tricks and Tips >
      • :: Tip to Molecular Shapes
      • Memorizing Bond Angles and Polarity
      • :: Chemistry Formulas
      • :: Trick Polyatomic ions
    • VI. General AP Concepts >
      • :: Potential Energy Diagrams
      • :: Haber-Bosch
      • :: Le Chatelier
      • :: Pressure & Moles
      • ::Rydberg's Constant vs Unit of Energy
      • :: Equilibrium and RICE Tables
      • :: Kinetics
      • Galvanic Cells
    • :: Flash cards
    • :: VSEPR
  • AP Stats
    • Chi-Squared Tests
    • Solving Chi-Sqd Test Using Sheets
    • Applications of Statistics
    • Standardized Scores
    • Distributions Transformations
  • AP Calc
    • DI Method - Tabular Integration
    • Polar Curves: Tangent Line and Slope
    • Riemann Sums: Left and Right Approximations
    • :: Conic Sections Flash cards
    • :: Parent Functions Flash cards
    • Worked Out Problems >
      • :: Worked Out Problems I
      • :: Worked Out Problems II
      • :: Worked Out Problems III
      • :: Worked Out Problems IV
      • :: Worked Out Problems V
      • :: Worked Out Problems VI
      • :: Worked Out Problems VII
      • :: Worked Out Problems VIII
      • :: Worked Out Problems IX
      • :: Worked Out Problems X
      • :: Worked Out Problems XI
      • :: Worked Out Problems XII
      • :: Worked Out Problems XIII
    • Applying Trig Identities
    • L'Hopital's Rule
    • Differences Between Conic Sections
    • Graphing Conic Sections
    • :: Pre-Calc - Trig Identities
    • Tangent & Normal Lines
    • Indefinite integrals: U Sub
    • Calculus Derivatives >
      • Product Rule
      • Quotient Rule
      • Chain Rule
  • Arduino
    • Quick Look
    • Project #1: Blinking LED
    • Project #2: Button LED
    • Project #3: Flowing LED
    • Project #4: LCD Display
    • Project #5: Serial Monitor
  • AP Español
    • AP Español Salsa
  • App
    • AP Go Pow How?
    • AP Go Pow APP Page
  • Musings
    • :: Bayesian Example
    • :: Nash equilibria
    • :: Bayesian Nash Equilibrium
    • :: Backward induction
    • :: what is ISS
    • :: Rotational Matrices
    • :: Primary v Secondary Pollutants
    • :: Black Hole
    • :: Covid-19 Hackathon
    • :: Evolution of Immunizations
    • :: Predictions of Diseases
    • :: Book List
    • :: Patterncount
    • :: Binary Classification
    • :: Cybersecurity
    • :: What is CIA Triad
    • :: What is Networking
    • :: Self Similarity
    • :: Trig Identities
    • :: UIL Number S
    • :: Box Offensive Play
    • :: Why Card Trick Works
    • :: Easy Multiplication
  • AP CREDIT
  • About
​
Code Explained - The Terms List :

​
import 'package:flutter/material.dart';
import '../Pages/page.dart';
import '../Pages/termslist.dart';
class Terms1 extends StatelessWidget {
  @override
  Terms1();
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Unit One Terms'),
          leading:  new IconButton(
              icon: new Icon(Icons.arrow_back),
              color: Colors.white,
              iconSize: 25.0,

              onPressed: () => Navigator.of(context).pushAndRemoveUntil(new MaterialPageRoute(builder: (BuildContext context) => new TermsList()), (Route route) => route == null)
          ),
        ),
        body: ListView.builder(
          itemBuilder: (BuildContext context, int index) =>
              EntryItem(data[index]),
          itemCount: data.length,
        ),
      ),
    );
  }
}

// One entry in the multilevel list displayed by this app.
class Entry {
  Entry(this.title, [this.children = const <Entry>[]]);

  final String title;
  final List<Entry> children;
}

// The entire multilevel list displayed by this app.
final List<Entry> data = <Entry>[
  Entry(
    'Social Contract Theory',
    <Entry>[
      Entry(
        'People give up certain rights to the government in order to be protected',
      ),
],
  ),
  Entry(
    'John Locke',
    <Entry>[
      Entry(
        'Wrote the Second Treatise on Government and established the idea of Inalienable Rights',
      ),
    ],
  ),
  Entry(
    'Inalienable Rights',
    <Entry>[
      Entry(
        'A right that according to natural law cannot be taken away, denied or transferred. These are the rights to life, liberty, and property.',
      ),
    ],
  ),
  Entry(
    'Montesquieu',
    <Entry>[
      Entry(
        'Wrote the Spirit of the Law and established the idea of Checks and Balances',
      ),
    ],
  ),
  Entry(
    'Machiavelli',
    <Entry>[
      Entry(
        'Wrote the Prince and established the idea that it is better to be feared than loved',

      ),

    ],

  ),
  Entry(
      'Thomas Hobbes',
      <Entry>[
      Entry(
      'Wrote the Leviathan and established the idea of the absolute power of the monarch by divine right',

  ),
  ],
  ),
  Entry(
    'Democracy',
    <Entry>[
      Entry(
        'A system of government by the whole population or all the eligible members of a state',

      ),
    ],
  ),
  Entry(
    'Representative Democracy',
    <Entry>[
      Entry(
        'Type of democracy in which citizens elect representatives who make up a legislature',

      ),
    ],
  ),
  Entry(
    'Minimalist Democracy',
    <Entry>[
      Entry(
        'Type of democracy in which citizens elect political teams and give them the right to rule',

      ),
    ],
  ),
  Entry(
    'Direct Democracy',
    <Entry>[
      Entry(
        'Type of democracy in which citizens cast their votes directly on laws,policies, and other legislative affairs',

      ),
    ],
  ),
  Entry(
    'Pluralism',
    <Entry>[
      Entry(
        'A theory of government that a large and diverse array of groups compete for influence leading to the weakening state of the government',

      ),
    ],
  ),
  Entry(
    'Elitism',
    <Entry>[
      Entry(
        'A theory of government that only those who have met the criteria for being elite may enter the political system',

      ),
    ],
  ),
  Entry(
    'Hyperpluralism',
    <Entry>[
      Entry(
        'Pluralism to the extreme; Overwhelming amount of groups pull at the systems of power creates a gridlock',

      ),
    ],
  ),
  Entry(
    'Collective Goods',
    <Entry>[
      Entry(
        'Goods and services that are by their nature cannot be denied to anyone',

      ),
    ],
  ),
  Entry(
    'Political Culture',
    <Entry>[
      Entry(
        'An overall set of values widely shared within a society',

      ),
    ],
  ),
  Entry(
    'Politics',
    <Entry>[
      Entry(
        'Process determining the leaders we select and the policies they pursue',

      ),
    ],
  ),
  Entry(
    'Public Policy',
    <Entry>[
      Entry(
        'A choice that government makes in response to a political issue',

      ),
    ],
  ),
  Entry(
    'Linkage Institutions',
    <Entry>[
      Entry(
        'Political Channels through which peoples concerns become political issues on the policy agenda',

      ),
    ],
  ),
  Entry(
    'New Jersey Plan',
    <Entry>[
      Entry(
        'Called for equal representation in Congress',

      ),
    ],
  ),
  Entry(
    'Virginia Plan',
    <Entry>[
      Entry(
        'Called for proportional representation in Congress',

      ),
    ],
  ),
  Entry(
    'Connecticut Compromise',
    <Entry>[
      Entry(
        'AKA The Great Compromise, combined both the Virginia and New Jersey Plan to create a bicameral legislature with equal representation for the senate and proportional representaiton for the House of Representatives',

      ),
    ],
  ),

];

// Displays one Entry. If the entry has children then it's displayed
// with an ExpansionTile.
class EntryItem extends StatelessWidget {
  const EntryItem(this.entry);

  final Entry entry;

  Widget _buildTiles(Entry root) {
    if (root.children.isEmpty) return ListTile(title: Text(root.title));
    return ExpansionTile(
      key: PageStorageKey<Entry>(root),
      title: Text(root.title),
      children: root.children.map(_buildTiles).toList(),
    );
  }

  @override
  Widget build(BuildContext context) {
    return _buildTiles(entry);
  }
}



Picture

keentween

  • Ask
  • FAQ
  • R Winter Series
    • Create & Manipulate Matrices
    • Data Cleaning, Data Frames & Lists
    • Tidyverse
    • Creating Graphs with ggplot
  • AP CS A
    • Java July Series >
      • :: Classes & OOPs
      • :: Interface
      • :: Inheritance
      • :: Intro To Arrays Java
      • :: Arrays Continued
    • :: CS-A or CS-P?
    • :: Control Structures
    • :: Recursion
    • :: While Do While Loops in Java
    • :: Interface in Java
    • :: ArrayLists
    • :: Java Naming Conventions
    • :: Logic Circuits
    • :: Getters and Setters
    • :: Binary & Hexadecimal
  • Summer 2020 Tutoring
    • :: REPRESENT IT!
    • Pre-Algebra Sessions >
      • :: Basic Division
      • :: Complex Division
      • :: Estimation Division
      • :: Division Practice Problems
    • Algebra II >
      • :: Cubic Equations
      • :: Complex Numbers
    • Chemistry >
      • Molarity Basics
    • C++ Sessions >
      • :: Introduction
      • :: Style v Syntax
      • :: Variables & Data Types
      • :: Intialize/Declare Variables
      • :: Types of Operators
      • :: Strings and Input - Output
      • :: How to Construct Arrays
  • AP Bio
    • :: Sketch Notes >
      • :: Part 1
      • :: Part 2
    • :: epigenetics
    • :: Chi-Squared Tests
    • :: Cancer
    • :: Hox Genes
    • :: Hardy-Weinberg Principle
    • :: Rule of Multiplication + Addition for Punnett Squares
    • :: CRISPR
    • :: Amino Acid
    • :: Peptide
    • :: Why study Peptides
    • :: Aquaporins
    • :: Gram Stains
    • :: Graph on Excel for Bio Lab
  • AP Chem
    • Organic Chemistry
    • I. Properties of Matter >
      • Neutralization
    • II. Periodic table >
      • Org of Periodic Table
      • :: Groups
    • III. Chemical bonding >
      • :: Mass to Mass conversion
      • :: Naming Acids
      • :: Cross Drop Charge
      • :: Predicting Products
      • :: Balance Equation Question
      • :: Learn to Balance Equation
      • :: VSEPR Simulation
    • IV. Molar Mass >
      • ::LR ER and excess reatant
      • :: Molecular/Formula Mass
      • :: Empirical Formula & Molar Mass
      • :: Percentages & Empirical Formula
      • :: Empirical formula
    • IV. Solutions and Solubility >
      • :: Types of Solutions with Solubility Curves
      • :: Solubility Curve
    • V. Easy Tricks and Tips >
      • :: Tip to Molecular Shapes
      • Memorizing Bond Angles and Polarity
      • :: Chemistry Formulas
      • :: Trick Polyatomic ions
    • VI. General AP Concepts >
      • :: Potential Energy Diagrams
      • :: Haber-Bosch
      • :: Le Chatelier
      • :: Pressure & Moles
      • ::Rydberg's Constant vs Unit of Energy
      • :: Equilibrium and RICE Tables
      • :: Kinetics
      • Galvanic Cells
    • :: Flash cards
    • :: VSEPR
  • AP Stats
    • Chi-Squared Tests
    • Solving Chi-Sqd Test Using Sheets
    • Applications of Statistics
    • Standardized Scores
    • Distributions Transformations
  • AP Calc
    • DI Method - Tabular Integration
    • Polar Curves: Tangent Line and Slope
    • Riemann Sums: Left and Right Approximations
    • :: Conic Sections Flash cards
    • :: Parent Functions Flash cards
    • Worked Out Problems >
      • :: Worked Out Problems I
      • :: Worked Out Problems II
      • :: Worked Out Problems III
      • :: Worked Out Problems IV
      • :: Worked Out Problems V
      • :: Worked Out Problems VI
      • :: Worked Out Problems VII
      • :: Worked Out Problems VIII
      • :: Worked Out Problems IX
      • :: Worked Out Problems X
      • :: Worked Out Problems XI
      • :: Worked Out Problems XII
      • :: Worked Out Problems XIII
    • Applying Trig Identities
    • L'Hopital's Rule
    • Differences Between Conic Sections
    • Graphing Conic Sections
    • :: Pre-Calc - Trig Identities
    • Tangent & Normal Lines
    • Indefinite integrals: U Sub
    • Calculus Derivatives >
      • Product Rule
      • Quotient Rule
      • Chain Rule
  • Arduino
    • Quick Look
    • Project #1: Blinking LED
    • Project #2: Button LED
    • Project #3: Flowing LED
    • Project #4: LCD Display
    • Project #5: Serial Monitor
  • AP Español
    • AP Español Salsa
  • App
    • AP Go Pow How?
    • AP Go Pow APP Page
  • Musings
    • :: Bayesian Example
    • :: Nash equilibria
    • :: Bayesian Nash Equilibrium
    • :: Backward induction
    • :: what is ISS
    • :: Rotational Matrices
    • :: Primary v Secondary Pollutants
    • :: Black Hole
    • :: Covid-19 Hackathon
    • :: Evolution of Immunizations
    • :: Predictions of Diseases
    • :: Book List
    • :: Patterncount
    • :: Binary Classification
    • :: Cybersecurity
    • :: What is CIA Triad
    • :: What is Networking
    • :: Self Similarity
    • :: Trig Identities
    • :: UIL Number S
    • :: Box Offensive Play
    • :: Why Card Trick Works
    • :: Easy Multiplication
  • AP CREDIT
  • About